diff options
Diffstat (limited to 'app')
-rw-r--r-- | app/controllers/edit_tree_controller.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/edit_tree_controller.rb b/app/controllers/edit_tree_controller.rb index 4322e1ee3b0..e3bd10ec758 100644 --- a/app/controllers/edit_tree_controller.rb +++ b/app/controllers/edit_tree_controller.rb @@ -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 |