Description:
merge
Commit status:
[Not Reviewed]
References:
Diff options:
Comments:
0 Commit comments
0 Inline Comments
Unresolved TODOs:
There are no unresolved TODOs
r767:aac82fe8b800 - - 1 file changed: 6 inserted, 0 deleted
@@ -138,24 +138,30 | |||
|
138 | 138 | #delete 'user_admin/:id', to: 'user_admin#destroy', as: 'user_admin_destroy' |
|
139 | 139 | |
|
140 | 140 | #singular resource |
|
141 | 141 | #---- BEWARE ---- singular resource maps to plural controller by default, we can override by provide controller name directly |
|
142 | 142 | #report |
|
143 | 143 | resource :report, only: [], controller: 'report' do |
|
144 | 144 | get 'login' |
|
145 | 145 | get 'multiple_login' |
|
146 | 146 | get 'problem_hof(/:id)', action: 'problem_hof', as: 'problem_hof' |
|
147 | 147 | get 'current_score(/:group_id)', action: 'current_score', as: 'current_score' |
|
148 | 148 | get 'max_score' |
|
149 | 149 | post 'show_max_score' |
|
150 | + get 'problem_hof(/:id)', action: 'problem_hof', as: 'problem_hof' | |
|
151 | + get 'stuck' | |
|
152 | + get 'cheat_report' | |
|
153 | + post 'cheat_report' | |
|
154 | + get 'cheat_scruntinize' | |
|
155 | + post 'cheat_scruntinize' | |
|
150 | 156 | end |
|
151 | 157 | #get 'report/current_score', to: 'report#current_score', as: 'report_current_score' |
|
152 | 158 | #get 'report/problem_hof(/:id)', to: 'report#problem_hof', as: 'report_problem_hof' |
|
153 | 159 | #get "report/login" |
|
154 | 160 | #get 'report/max_score', to: 'report#max_score', as: 'report_max_score' |
|
155 | 161 | #post 'report/show_max_score', to: 'report#show_max_score', as: 'report_show_max_score' |
|
156 | 162 | |
|
157 | 163 | resource :main, only: [], controller: 'main' do |
|
158 | 164 | get 'login' |
|
159 | 165 | get 'logout' |
|
160 | 166 | get 'list' |
|
161 | 167 | get 'submission(/:id)', action: 'submission', as: 'main_submission' |
You need to be logged in to leave comments.
Login now