Show More
Commit Description:
## Bootstrapify...
Commit Description:
## Bootstrapify * submit error message * bootstrap switch for announcement
File last commit:
Show/Diff file:
Action:
config/routes.rb | 25 lines | 701 B | text/x-ruby | RubyLexer |
CafeGrader::Application.routes.draw do
root :to => 'main#login'
get "report/login"
resources :contests
resources :announcements
resources :sites
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