summaryrefslogtreecommitdiff
path: root/app/helpers/notifications_helper.rb
diff options
context:
space:
mode:
authorKamil Trzcinski <ayufan@ayufan.eu>2016-07-19 23:33:42 +0200
committerKamil Trzcinski <ayufan@ayufan.eu>2016-07-19 23:33:42 +0200
commitbf9db45a1dc4d8269fa68dc27dac6667c89ffda8 (patch)
tree813d6c8151c156d186cdf4e3420f42260d206434 /app/helpers/notifications_helper.rb
parent0aedeb5637932fa827e42be7441e9c967049dd1d (diff)
parentb9ed9d658ad447a64d58b2040849a7cc0e698287 (diff)
downloadgitlab-ce-bf9db45a1dc4d8269fa68dc27dac6667c89ffda8.tar.gz
Merge remote-tracking branch 'origin/master' into ci-predefined-variables
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