diff options
author | Douwe Maan <douwe@selenight.nl> | 2016-03-20 22:55:08 +0100 |
---|---|---|
committer | Douwe Maan <douwe@selenight.nl> | 2016-03-20 22:55:08 +0100 |
commit | 7c51d5efecdad1a7f52ffecdf57c86b7b90ca166 (patch) | |
tree | 770615e2c9fe547f064a0de0246f397e32ff83c8 /app/controllers/projects/application_controller.rb | |
parent | 3058a8fa4c1dfdf50a6f274bfbf280f8d2137168 (diff) | |
download | gitlab-ce-7c51d5efecdad1a7f52ffecdf57c86b7b90ca166.tar.gz |
Fix some specs
Diffstat (limited to 'app/controllers/projects/application_controller.rb')
-rw-r--r-- | app/controllers/projects/application_controller.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/projects/application_controller.rb b/app/controllers/projects/application_controller.rb index 276f80f800a..9c8433c260b 100644 --- a/app/controllers/projects/application_controller.rb +++ b/app/controllers/projects/application_controller.rb @@ -67,7 +67,7 @@ class Projects::ApplicationController < ApplicationController end def require_non_empty_project - redirect_to @project if @project.empty_repo? + redirect_to namespace_project_path(@project.namespace, @project) if @project.empty_repo? end def require_branch_head |