diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-04-03 17:06:28 +0300 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-04-03 17:06:28 +0300 |
commit | b1117dacbbdc7459e4ca495471ae9a24ebf69f7d (patch) | |
tree | b4ef6df7d978f928376feb4729ba22155d009753 /app | |
parent | 727d229e28012b3469760c69e028192b617b7e15 (diff) | |
download | gitlab-ce-b1117dacbbdc7459e4ca495471ae9a24ebf69f7d.tar.gz |
Fixed before_filter for edit
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 |