Commit b1117dac authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Fixed before_filter for edit

parent 727d229e
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment