summaryrefslogtreecommitdiff
path: root/app/controllers/projects/compare_controller.rb
diff options
context:
space:
mode:
authorDouwe Maan <douwe@gitlab.com>2015-02-20 16:30:15 +0100
committerDouwe Maan <douwe@gitlab.com>2015-02-20 17:20:03 +0100
commit00408f37e34f37f1299df6957f62bfa7ff341749 (patch)
tree30551090734befffad07d9a877eb15766b09d5d9 /app/controllers/projects/compare_controller.rb
parent6b0199ffc1c8e6a79b68a510052a1d1713afc29d (diff)
downloadgitlab-ce-00408f37e34f37f1299df6957f62bfa7ff341749.tar.gz
Move 'require_non_empty_project' filter to front so 'assign_ref_vars' doesn't 404.
Diffstat (limited to 'app/controllers/projects/compare_controller.rb')
-rw-r--r--app/controllers/projects/compare_controller.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/projects/compare_controller.rb b/app/controllers/projects/compare_controller.rb
index ffb8c2e4af1..8a359042d7b 100644
--- a/app/controllers/projects/compare_controller.rb
+++ b/app/controllers/projects/compare_controller.rb
@@ -1,7 +1,7 @@
class Projects::CompareController < Projects::ApplicationController
# Authorize
- before_filter :authorize_download_code!
before_filter :require_non_empty_project
+ before_filter :authorize_download_code!
def index
end