Adjust list_group_item helper for Bootstrap 4

This commit is contained in:
Andreas Nedbal 2020-04-26 21:48:02 +02:00
parent c124138a4a
commit 8d9f1d5efb
1 changed files with 1 additions and 1 deletions

View File

@ -36,7 +36,7 @@ module ApplicationHelper
}"))}"
end
content_tag(:a, body.html_safe, href: path, class: ("list-group-item #{'active ' if current_page? path}#{options[:class]}"))
content_tag(:a, body.html_safe, href: path, class: ("list-group-item list-group-item-action #{'active ' if current_page? path}#{options[:class]}"))
end
def tooltip(body, tooltip_content, placement = "bottom")