Fixed routing bug on (ex) admin controller.
This commit is contained in:
parent
9a54d8504c
commit
571548dfbc
10 changed files with 9 additions and 15 deletions
|
|
@ -117,7 +117,7 @@ module ApplicationHelper
|
|||
end
|
||||
|
||||
def tab_is_active?(tab)
|
||||
tab[:active].detect {|c| c == controller.controller_path }
|
||||
tab[:active].detect {|c| controller.controller_path.match(c) }
|
||||
end
|
||||
|
||||
def icon(name, options={})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue