Commit b1117dacbbdc7459e4ca495471ae9a24ebf69f7d
1 parent
727d229e
Exists in
master
and in
4 other branches
Fixed before_filter for edit
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
app/controllers/edit_tree_controller.rb
... | ... | @@ -7,7 +7,7 @@ class EditTreeController < ProjectResourceController |
7 | 7 | before_filter :authorize_code_access! |
8 | 8 | before_filter :require_non_empty_project |
9 | 9 | |
10 | - before_filter :edit_requirements, only: [:edit, :update] | |
10 | + before_filter :edit_requirements, only: [:show, :update] | |
11 | 11 | |
12 | 12 | def show |
13 | 13 | @last_commit = @project.repository.last_commit_for(@ref, @path).sha | ... | ... |