summaryrefslogtreecommitdiff
path: root/app/helpers/notifications_helper.rb
diff options
context:
space:
mode:
authorFelipe Artur <felipefac@gmail.com>2016-06-22 10:50:19 -0300
committerFelipe Artur <felipefac@gmail.com>2016-06-29 11:04:18 -0300
commit36d48120f66d52dcc8697893ca1ab85322ba7c8b (patch)
tree8c66cdb03c4429bf326711d8bd6956fbf45252b7 /app/helpers/notifications_helper.rb
parent2674b548601b279ada46d4b218a9def6fd5b9f6d (diff)
parent92e183542fe0e13930220ba3bbf67b9197cfc026 (diff)
downloadgitlab-ce-36d48120f66d52dcc8697893ca1ab85322ba7c8b.tar.gz
merge master into issue_3359_3
Diffstat (limited to 'app/helpers/notifications_helper.rb')
-rw-r--r--app/helpers/notifications_helper.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/helpers/notifications_helper.rb b/app/helpers/notifications_helper.rb
index 77783cd7640..7e8369d0a05 100644
--- a/app/helpers/notifications_helper.rb
+++ b/app/helpers/notifications_helper.rb
@@ -72,6 +72,6 @@ module NotificationsHelper
# Create hidden field to send notification setting source to controller
def hidden_setting_source_input(notification_setting)
return unless notification_setting.source_type
- hidden_field_tag "#{notification_setting.source_type.downcase}[id]", notification_setting.source_id
+ hidden_field_tag "#{notification_setting.source_type.downcase}_id", notification_setting.source_id
end
end