Description:
fix direct edit link
Commit status:
[Not Reviewed]
References:
Diff options:
Comments:
0 Commit comments
0 Inline Comments
Unresolved TODOs:
There are no unresolved TODOs
r641:2a2038aee8bd - - 1 file changed: 1 inserted, 1 deleted
@@ -1,9 +1,9 | |||
|
1 | 1 | class SubmissionsController < ApplicationController |
|
2 | 2 | before_filter :authenticate |
|
3 | - before_filter :submission_authorization, only: [:show, :direct_edit_submission, :download] | |
|
3 | + before_filter :submission_authorization, only: [:show, :direct_edit_submission, :download, :edit] | |
|
4 | 4 | |
|
5 | 5 | # GET /submissions |
|
6 | 6 | # GET /submissions.json |
|
7 | 7 | # Show problem selection and user's submission of that problem |
|
8 | 8 | def index |
|
9 | 9 | @user = @current_user |
You need to be logged in to leave comments.
Login now