diff options
author | Douwe Maan <douwe@gitlab.com> | 2015-11-11 18:25:01 +0300 |
---|---|---|
committer | Douwe Maan <douwe@gitlab.com> | 2015-11-18 14:00:57 +0300 |
commit | 7b405d306431448f384591de792497e719d71caa (patch) | |
tree | dad18e6249acb327b9a85468f28d04526fd0f807 /app/controllers/projects/imports_controller.rb | |
parent | 01d2b1943f009720a3f8a51e441dcc18f1706c9f (diff) |
Fix redirect after import fails.
Diffstat (limited to 'app/controllers/projects/imports_controller.rb')
-rw-r--r-- | app/controllers/projects/imports_controller.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/controllers/projects/imports_controller.rb b/app/controllers/projects/imports_controller.rb index 066b66014f8..fb8788f0818 100644 --- a/app/controllers/projects/imports_controller.rb +++ b/app/controllers/projects/imports_controller.rb @@ -28,8 +28,8 @@ class Projects::ImportsController < Projects::ApplicationController if @project.import_finished? redirect_to(project_path(@project)) and return else - redirect_to new_namespace_project_import_path(@project.namespace, - @project) && return + redirect_to(new_namespace_project_import_path(@project.namespace, + @project)) and return end end end |