summaryrefslogtreecommitdiff
path: root/app/controllers/projects/new_tree_controller.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/controllers/projects/new_tree_controller.rb')
-rw-r--r--app/controllers/projects/new_tree_controller.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/projects/new_tree_controller.rb b/app/controllers/projects/new_tree_controller.rb
index 71a5c6499ec..ffba706b2f6 100644
--- a/app/controllers/projects/new_tree_controller.rb
+++ b/app/controllers/projects/new_tree_controller.rb
@@ -1,6 +1,6 @@
class Projects::NewTreeController < Projects::BaseTreeController
before_filter :require_branch_head
- before_filter :authorize_push!
+ before_filter :authorize_push_code!
def show
end