summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2015-11-16 09:53:17 +0100
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2015-11-16 13:01:34 +0100
commitc9f2f2a4838f9aa49782acdb7cfad75d06f31ac2 (patch)
tree5c9e45b09c4123fd8ec859dd768ac058f87bef23
parent0698c96d7dc472a0e7e74c290047a50eeddf27bb (diff)
downloadgitlab-ce-refactor-duplication.tar.gz
Fix wrong variable namerefactor-duplication
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
-rw-r--r--app/helpers/notifications_helper.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/helpers/notifications_helper.rb b/app/helpers/notifications_helper.rb
index ba072786145..499c655d2bf 100644
--- a/app/helpers/notifications_helper.rb
+++ b/app/helpers/notifications_helper.rb
@@ -30,9 +30,9 @@ module NotificationsHelper
end
end
- def update_notification_link(notification_label, user_membership, title, icon)
+ def update_notification_link(notification_level, user_membership, title, icon)
content_tag(:li, class: active_level_for(user_membership, notification_level)) do
- link_to '#', class: 'update-notification', data: { notification_level: notification_label } do
+ link_to '#', class: 'update-notification', data: { notification_level: notification_level } do
icon("#{icon} fw", text: title)
end
end