mirror of
https://github.com/Retrospring/retrospring.git
synced 2025-02-13 21:33:20 +01:00
Fix missing arguments on current_page?
This commit is contained in:
parent
d5d5c5eb19
commit
e1c1357d9b
1 changed files with 2 additions and 2 deletions
|
@ -9,7 +9,7 @@ module ApplicationHelper
|
|||
|
||||
classes = [
|
||||
"nav-item",
|
||||
current_page? ? "active" : nil,
|
||||
current_page?(path) ? "active" : nil,
|
||||
options[:class]
|
||||
].compact.join(" ")
|
||||
|
||||
|
@ -37,7 +37,7 @@ module ApplicationHelper
|
|||
classes = [
|
||||
"list-group-item",
|
||||
"list-group-item-action",
|
||||
current_page? ? "active" : nil,
|
||||
current_page?(path) ? "active" : nil,
|
||||
options[:class]
|
||||
].compact.join(" ")
|
||||
|
||||
|
|
Loading…
Reference in a new issue