Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDouglas Barbosa Alexandre <dbalexandre@gmail.com>2016-04-12 01:29:31 +0300
committerDouglas Barbosa Alexandre <dbalexandre@gmail.com>2016-04-12 02:50:27 +0300
commitfe58c1f13cc0758bbbd8f85b8794b458b3a72b55 (patch)
tree34949058d95927cbbae2a0600e1172d9023fbebe /app/views/projects/buttons
parentbee28e1785ad7844bd518c19106beee7d8a4c560 (diff)
Fix partial for update project notifications
Diffstat (limited to 'app/views/projects/buttons')
-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"}