Active link based on controller rather than action.
This commit is contained in:
parent
47d5ef4bd5
commit
d6067296de
|
@ -2,7 +2,7 @@
|
|||
= nav_link(path: 'groups#show', html_options: {class: 'home'}) do
|
||||
= link_to group_path(@group), title: "Home" do
|
||||
Activity
|
||||
= nav_link(path: 'milestones#index') do
|
||||
= nav_link(controller: [:group, :milestones]) do
|
||||
= link_to group_milestones_path(@group) do
|
||||
Milestones
|
||||
= nav_link(path: 'groups#issues') do
|
||||
|
|
Loading…
Reference in New Issue