Description:
revert route
Commit status:
[Not Reviewed]
References:
Comments:
0 Commit comments 0 Inline Comments
Unresolved TODOs:
There are no unresolved TODOs
Add another comment

r414:bb50298c9207 - - 1 file changed: 0 inserted, 2 deleted

@@ -1,22 +1,20
1 CafeGrader::Application.routes.draw do
1 CafeGrader::Application.routes.draw do
2 get "report/login"
2 get "report/login"
3
3
4 resources :contests
4 resources :contests
5
5
6 resources :announcements
6 resources :announcements
7 resources :sites
7 resources :sites
8
8
9 - resources :problems, only: [:show]
10 -
11 # The priority is based upon order of creation:
9 # The priority is based upon order of creation:
12 # first created -> highest priority.
10 # first created -> highest priority.
13
11
14 # Sample of regular route:
12 # Sample of regular route:
15 # match 'products/:id' => 'catalog#view'
13 # match 'products/:id' => 'catalog#view'
16 # Keep in mind you can assign values other than :controller and :action
14 # Keep in mind you can assign values other than :controller and :action
17
15
18 # Sample of named route:
16 # Sample of named route:
19 # match 'products/:id/purchase' => 'catalog#purchase', :as => :purchase
17 # match 'products/:id/purchase' => 'catalog#purchase', :as => :purchase
20 # This route can be invoked with purchase_url(:id => product.id)
18 # This route can be invoked with purchase_url(:id => product.id)
21
19
22 # Sample resource route (maps HTTP verbs to controller actions automatically):
20 # Sample resource route (maps HTTP verbs to controller actions automatically):
You need to be logged in to leave comments. Login now