Show More
Commit Description:
problem toggle on/off
Commit Description:
problem toggle on/off
References:
File last commit:
Show/Diff file:
Action:
config/routes.rb
| 29 lines
| 785 B
| text/x-ruby
| RubyLexer
|
|
r318 | CafeGrader::Application.routes.draw do | ||
r553 | root :to => 'main#login' | |||
r410 | get "report/login" | |||
|
r318 | resources :contests | ||
resources :announcements | ||||
r557 | match 'announcements/toggle/:id' => 'announcements#toggle' | |||
r556 | ||||
|
r318 | resources :sites | ||
|
r266 | |||
r558 | resources :problem | |||
r474 | resources :grader_configuration, controller: 'configurations' | |||
|
r318 | match 'tasks/view/:file.:ext' => 'tasks#view' | ||
match 'tasks/download/:id/:file.:ext' => 'tasks#download' | ||||
r553 | match 'heartbeat/:id/edit' => 'heartbeat#edit' | |||
|
r318 | |||
r553 | #main | |||
get "main/list" | ||||
r540 | ||||
|
r318 | # See how all your routes lay out with "rake routes" | ||
# This is a legacy wild controller route that's not recommended for RESTful applications. | ||||
# Note: This route will make all actions in every controller accessible via GET requests. | ||||
match ':controller(/:action(/:id))(.:format)' | ||||
|
r0 | end | ||