summaryrefslogtreecommitdiff
path: root/app/views
diff options
context:
space:
mode:
authorDouglas Barbosa Alexandre <dbalexandre@gmail.com>2016-04-11 19:29:31 -0300
committerDouglas Barbosa Alexandre <dbalexandre@gmail.com>2016-04-11 20:50:27 -0300
commitfe58c1f13cc0758bbbd8f85b8794b458b3a72b55 (patch)
tree34949058d95927cbbae2a0600e1172d9023fbebe /app/views
parentbee28e1785ad7844bd518c19106beee7d8a4c560 (diff)
downloadgitlab-ce-fe58c1f13cc0758bbbd8f85b8794b458b3a72b55.tar.gz
Fix partial for update project notifications
Diffstat (limited to 'app/views')
-rw-r--r--app/views/projects/buttons/_notifications.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/projects/buttons/_notifications.html.haml b/app/views/projects/buttons/_notifications.html.haml
index 2b9d8f2ac81..49f541399f2 100644
--- a/app/views/projects/buttons/_notifications.html.haml
+++ b/app/views/projects/buttons/_notifications.html.haml
@@ -1,5 +1,5 @@
- if @notification_setting
- = form_for [@project.namespace.becomes(Namespace), @project, @notification_setting], remote: true, html: { class: 'inline', id: 'notification-form' } do |f|
+ = form_for @notification_setting, url: namespace_project_notification_setting_path(@project.namespace.becomes(Namespace), @project), remote: true, html: { class: 'inline', id: 'notification-form' } do |f|
= f.hidden_field :level
%span.dropdown
%a.dropdown-new.btn.notifications-btn#notifications-button{href: '#', "data-toggle" => "dropdown"}