summaryrefslogtreecommitdiff
path: root/app/views/projects/triggers/_form.html.haml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/projects/triggers/_form.html.haml')
-rw-r--r--app/views/projects/triggers/_form.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/projects/triggers/_form.html.haml b/app/views/projects/triggers/_form.html.haml
index a9abfac239c..dec71cdb56a 100644
--- a/app/views/projects/triggers/_form.html.haml
+++ b/app/views/projects/triggers/_form.html.haml
@@ -1,4 +1,4 @@
-= form_for [@project.namespace.becomes(Namespace), @project, @trigger], html: { class: 'gl-show-field-errors' } do |f|
+= form_for [@project, @trigger], html: { class: 'gl-show-field-errors' } do |f|
= form_errors(@trigger)
- if @trigger.token