Fixed before_filter for edit
This commit is contained in:
parent
727d229e28
commit
b1117dacbb
1 changed files with 1 additions and 1 deletions
|
@ -7,7 +7,7 @@ class EditTreeController < ProjectResourceController
|
|||
before_filter :authorize_code_access!
|
||||
before_filter :require_non_empty_project
|
||||
|
||||
before_filter :edit_requirements, only: [:edit, :update]
|
||||
before_filter :edit_requirements, only: [:show, :update]
|
||||
|
||||
def show
|
||||
@last_commit = @project.repository.last_commit_for(@ref, @path).sha
|
||||
|
|
Loading…
Reference in a new issue