mirror of
https://github.com/Retrospring/retrospring.git
synced 2025-03-15 18:39:58 +01:00
Fix "nav-item" assigning class in nav_entry helper
This commit is contained in:
parent
1885343900
commit
4917ce46d3
1 changed files with 1 additions and 1 deletions
|
@ -18,7 +18,7 @@ module ApplicationHelper
|
|||
}"))}"
|
||||
end
|
||||
|
||||
content_tag(:li, link_to(body.html_safe, path, class: "nav-link"), class: ("#{'nav-item active ' if current_page? path}#{options[:class]}"))
|
||||
content_tag(:li, link_to(body.html_safe, path, class: "nav-link"), class: ("nav-item#{' active' if current_page? path} #{options[:class]}"))
|
||||
end
|
||||
|
||||
def list_group_item(body, path, options = {})
|
||||
|
|
Loading…
Reference in a new issue