active_tab_item → dynamic_tab_item

This commit is contained in:
gregoirenovel 2018-09-06 14:02:02 +02:00
parent 3604ee5453
commit 59e809f029
4 changed files with 12 additions and 12 deletions

View file

@ -9,7 +9,7 @@ module TabsHelper
}
end
def active_tab_item(label, url, badge: nil, notification: false)
def dynamic_tab_item(label, url, badge: nil, notification: false)
tab_item(label, url, active: current_page?(url), badge: badge, notification: notification)
end
end