summaryrefslogtreecommitdiff
path: root/app/controllers/projects/refs_controller.rb
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dzaporozhets@gitlab.com>2014-11-05 15:23:26 +0000
committerDmitriy Zaporozhets <dzaporozhets@gitlab.com>2014-11-05 15:23:26 +0000
commitc3e83d4771071b1e63ebcc88be624296ce72499a (patch)
tree7587aa6136e1c8a828bd54cf38dda4c67dd9a5f6 /app/controllers/projects/refs_controller.rb
parentf9814bf28831aeef746cfdc35431c8de45ff7677 (diff)
parent6f34d40436531029228e78d7a55a0e3982dbf89e (diff)
downloadgitlab-ce-c3e83d4771071b1e63ebcc88be624296ce72499a.tar.gz
Merge branch 'auth_duplication' into 'master'
Remove unnecessary authorisations Because we already check read_project ability in `before_filter :project` See merge request !1240
Diffstat (limited to 'app/controllers/projects/refs_controller.rb')
-rw-r--r--app/controllers/projects/refs_controller.rb1
1 files changed, 0 insertions, 1 deletions
diff --git a/app/controllers/projects/refs_controller.rb b/app/controllers/projects/refs_controller.rb
index 9ac189a78b3..5d9336bdc49 100644
--- a/app/controllers/projects/refs_controller.rb
+++ b/app/controllers/projects/refs_controller.rb
@@ -2,7 +2,6 @@ class Projects::RefsController < Projects::ApplicationController
include ExtractsPath
# Authorize
- before_filter :authorize_read_project!
before_filter :authorize_download_code!
before_filter :require_non_empty_project