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
@@ -126,48 +126,54 | |||
|
126 | 126 | resources :contest_management, only: [:index] do |
|
127 | 127 | collection do |
|
128 | 128 | get 'user_stat' |
|
129 | 129 | get 'clear_stat' |
|
130 | 130 | get 'clear_all_stat' |
|
131 | 131 | get 'change_contest_mode' |
|
132 | 132 | end |
|
133 | 133 | end |
|
134 | 134 | |
|
135 | 135 | #get 'user_admin', to: 'user_admin#index' |
|
136 | 136 | #get 'user_admin/bulk_manage', to: 'user_admin#bulk_manage', as: 'bulk_manage_user_admin' |
|
137 | 137 | #post 'user_admin', to: 'user_admin#create' |
|
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' |
|
162 | 168 | get 'announcements' |
|
163 | 169 | get 'help' |
|
164 | 170 | post 'submit' |
|
165 | 171 | end |
|
166 | 172 | #main |
|
167 | 173 | #get "main/list" |
|
168 | 174 | #get 'main/submission(/:id)', to: 'main#submission', as: 'main_submission' |
|
169 | 175 | #post 'main/submit', to: 'main#submit' |
|
170 | 176 | #get 'main/announcements', to: 'main#announcements' |
|
171 | 177 | |
|
172 | 178 | |
|
173 | 179 | # |
You need to be logged in to leave comments.
Login now