Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
7b405d30
Commit
7b405d30
authored
Nov 11, 2015
by
Douwe Maan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix redirect after import fails.
parent
01d2b194
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
app/controllers/projects/imports_controller.rb
app/controllers/projects/imports_controller.rb
+2
-2
No files found.
app/controllers/projects/imports_controller.rb
View file @
7b405d30
...
@@ -28,8 +28,8 @@ class Projects::ImportsController < Projects::ApplicationController
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment