summaryrefslogtreecommitdiff
path: root/app/views/projects/pages_domains/show.html.haml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/projects/pages_domains/show.html.haml')
-rw-r--r--app/views/projects/pages_domains/show.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/projects/pages_domains/show.html.haml b/app/views/projects/pages_domains/show.html.haml
index e1be7335a3f..20ecf948447 100644
--- a/app/views/projects/pages_domains/show.html.haml
+++ b/app/views/projects/pages_domains/show.html.haml
@@ -14,7 +14,7 @@
= _('Pages Domain')
= render 'projects/pages_domains/helper_text'
%div
- = form_for [@project.namespace.becomes(Namespace), @project, domain_presenter], html: { class: 'fieldset-form' } do |f|
+ = form_for [@project, domain_presenter], html: { class: 'fieldset-form' } do |f|
= render 'form', { f: f }
.form-actions.d-flex.justify-content-between
= f.submit _('Save Changes'), class: "btn btn-success"