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/commits_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/commits_controller.rb')
-rw-r--r-- | app/controllers/projects/commits_controller.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/projects/commits_controller.rb b/app/controllers/projects/commits_controller.rb index b133afe44b5..4b6ab437476 100644 --- a/app/controllers/projects/commits_controller.rb +++ b/app/controllers/projects/commits_controller.rb @@ -3,9 +3,9 @@ require "base64" class Projects::CommitsController < Projects::ApplicationController include ExtractsPath + before_filter :require_non_empty_project before_filter :assign_ref_vars before_filter :authorize_download_code! - before_filter :require_non_empty_project def show @repo = @project.repository |