Commit c9f2f2a4 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Fix wrong variable name

Signed-off-by: default avatarDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
parent 0698c96d
...@@ -30,9 +30,9 @@ module NotificationsHelper ...@@ -30,9 +30,9 @@ module NotificationsHelper
end end
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 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) icon("#{icon} fw", text: title)
end end
end end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment