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

r760:eb69d79cfbdd - - 1 file changed: 12 inserted, 0 deleted

@@ -165,12 +165,24
165 get 'tasks/view/:file.:ext' => 'tasks#view'
165 get 'tasks/view/:file.:ext' => 'tasks#view'
166 get 'tasks/download/:id/:file.:ext' => 'tasks#download'
166 get 'tasks/download/:id/:file.:ext' => 'tasks#download'
167 get 'heartbeat/:id/edit' => 'heartbeat#edit'
167 get 'heartbeat/:id/edit' => 'heartbeat#edit'
168
168
169 #grader
169 #grader
170 get 'graders/list', to: 'graders#list', as: 'grader_list'
170 get 'graders/list', to: 'graders#list', as: 'grader_list'
171 + namespace :graders do
172 + get 'task/:id/:type', action: 'task', as: 'task'
173 + get 'view/:id/:type', action: 'view', as: 'view'
174 + get 'clear/:id', action: 'clear', as: 'clear'
175 + get 'stop'
176 + get 'stop_all'
177 + get 'clear_all'
178 + get 'clear_terminated'
179 + get 'start_grading'
180 + get 'start_exam'
181 +
182 + end
171
183
172
184
173 # See how all your routes lay out with "rake routes"
185 # See how all your routes lay out with "rake routes"
174
186
175 # This is a legacy wild controller route that's not recommended for RESTful applications.
187 # This is a legacy wild controller route that's not recommended for RESTful applications.
176 # Note: This route will make all actions in every controller accessible via GET requests.
188 # Note: This route will make all actions in every controller accessible via GET requests.
You need to be logged in to leave comments. Login now