Description:
fix report link
Commit status:
[Not Reviewed]
References:
Diff options:
Comments:
0 Commit comments
0 Inline Comments
Unresolved TODOs:
There are no unresolved TODOs
r763:b90509d73a81 - - 2 files changed: 8 inserted, 2 deleted
@@ -12,8 +12,8 | |||
|
12 | 12 | .form-inline |
|
13 | 13 | = select 'report', |
|
14 | 14 | 'problem_id', |
|
15 |
- @problems.collect {|p| ["[#{p.name}] #{p.full_name}", |
|
|
16 |
- {:selected => |
|
|
15 | + @problems.collect {|p| ["[#{p.name}] #{p.full_name}", problem_hof_report_path(p.id)]}, | |
|
16 | + {:selected => problem_hof_report_path(@problem)}, | |
|
17 | 17 | { class: 'select2 form-control' } |
|
18 | 18 | %button.btn.btn-primary.btn-sm.go-button#problem_go{data: {source: "#report_problem_id"}} Go |
|
19 | 19 |
@@ -138,6 +138,12 | |||
|
138 | 138 | get 'current_score(/:group_id)', action: 'current_score', as: 'current_score' |
|
139 | 139 | get 'max_score' |
|
140 | 140 | post 'show_max_score' |
|
141 | + get 'problem_hof(/:id)', action: 'problem_hof', as: 'problem_hof' | |
|
142 | + get 'stuck' | |
|
143 | + get 'cheat_report' | |
|
144 | + post 'cheat_report' | |
|
145 | + get 'cheat_scruntinize' | |
|
146 | + post 'cheat_scruntinize' | |
|
141 | 147 | end |
|
142 | 148 | #get 'report/current_score', to: 'report#current_score', as: 'report_current_score' |
|
143 | 149 | #get 'report/problem_hof(/:id)', to: 'report#problem_hof', as: 'report_problem_hof' |
You need to be logged in to leave comments.
Login now