Show More
Commit Description:
problem toggle on/off
Commit Description:
problem toggle on/off
File last commit:
Show/Diff file:
Action:
config/routes.rb | 29 lines | 785 B | text/x-ruby | RubyLexer |
CafeGrader::Application.routes.draw do
root :to => 'main#login'
get "report/login"
resources :contests
resources :announcements
match 'announcements/toggle/:id' => 'announcements#toggle'
resources :sites
resources :problem
resources :grader_configuration, controller: 'configurations'
match 'tasks/view/:file.:ext' => 'tasks#view'
match 'tasks/download/:id/:file.:ext' => 'tasks#download'
match 'heartbeat/:id/edit' => 'heartbeat#edit'
#main
get "main/list"
# 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)'
end