summaryrefslogtreecommitdiff
path: root/app/views/projects/imports
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/projects/imports')
-rw-r--r--app/views/projects/imports/new.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/projects/imports/new.html.haml b/app/views/projects/imports/new.html.haml
index 6c3083e49f5..097374e1128 100644
--- a/app/views/projects/imports/new.html.haml
+++ b/app/views/projects/imports/new.html.haml
@@ -6,7 +6,7 @@
%hr
-= form_for @project, url: project_import_path(@project), method: :post, html: { class: 'form-horizontal' } do |f|
+= form_for @project, url: namespace_project_import_path(@project.namespace, @project), method: :post, html: { class: 'form-horizontal' } do |f|
.form-group.import-url-data
= f.label :import_url, class: 'control-label' do
%span Import existing git repo