diff options
author | Douwe Maan <douwe@gitlab.com> | 2015-02-20 16:30:15 +0100 |
---|---|---|
committer | Douwe Maan <douwe@gitlab.com> | 2015-02-20 17:20:03 +0100 |
commit | 00408f37e34f37f1299df6957f62bfa7ff341749 (patch) | |
tree | 30551090734befffad07d9a877eb15766b09d5d9 /app/controllers/projects/commit_controller.rb | |
parent | 6b0199ffc1c8e6a79b68a510052a1d1713afc29d (diff) | |
download | gitlab-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/commit_controller.rb')
-rw-r--r-- | app/controllers/projects/commit_controller.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/projects/commit_controller.rb b/app/controllers/projects/commit_controller.rb index 96a782bdf7a..87e39f1363a 100644 --- a/app/controllers/projects/commit_controller.rb +++ b/app/controllers/projects/commit_controller.rb @@ -3,8 +3,8 @@ # Not to be confused with CommitsController, plural. class Projects::CommitController < Projects::ApplicationController # Authorize - before_filter :authorize_download_code! before_filter :require_non_empty_project + before_filter :authorize_download_code! before_filter :commit def show |