Skip to content
Snippets Groups Projects
Commit 7b405d30 authored by Douwe Maan's avatar Douwe Maan
Browse files

Fix redirect after import fails.

parent 01d2b194
No related branches found
No related tags found
1 merge request!1822Backport relevant changes from gitlab-org/gitlab-ee!51
Loading
@@ -28,8 +28,8 @@ class Projects::ImportsController < Projects::ApplicationController
Loading
@@ -28,8 +28,8 @@ class Projects::ImportsController < Projects::ApplicationController
if @project.import_finished? if @project.import_finished?
redirect_to(project_path(@project)) and return redirect_to(project_path(@project)) and return
else else
redirect_to new_namespace_project_import_path(@project.namespace, redirect_to(new_namespace_project_import_path(@project.namespace,
@project) && return @project)) and return
end end
end end
end end
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment