Skip to content
Snippets Groups Projects
Commit b1117dac authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets
Browse files

Fixed before_filter for edit

parent 727d229e
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -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
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment