diff options
author | Douwe Maan <douwe@gitlab.com> | 2015-02-20 18:30:15 +0300 |
---|---|---|
committer | Douwe Maan <douwe@gitlab.com> | 2015-02-20 19:20:03 +0300 |
commit | 00408f37e34f37f1299df6957f62bfa7ff341749 (patch) | |
tree | 30551090734befffad07d9a877eb15766b09d5d9 /app/controllers/projects/forks_controller.rb | |
parent | 6b0199ffc1c8e6a79b68a510052a1d1713afc29d (diff) |
Move 'require_non_empty_project' filter to front so 'assign_ref_vars' doesn't 404.
Diffstat (limited to 'app/controllers/projects/forks_controller.rb')
-rw-r--r-- | app/controllers/projects/forks_controller.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/projects/forks_controller.rb b/app/controllers/projects/forks_controller.rb index a0481d11582..414da0bbdc9 100644 --- a/app/controllers/projects/forks_controller.rb +++ b/app/controllers/projects/forks_controller.rb @@ -1,7 +1,7 @@ class Projects::ForksController < Projects::ApplicationController # Authorize - before_filter :authorize_download_code! before_filter :require_non_empty_project + before_filter :authorize_download_code! def new @namespaces = current_user.manageable_namespaces |