diff options
author | Marin Jankovski <marin@gitlab.com> | 2014-07-09 11:38:29 +0200 |
---|---|---|
committer | Marin Jankovski <marin@gitlab.com> | 2014-07-09 11:38:29 +0200 |
commit | d6067296def59635a82ede72db0f6cc136c9887b (patch) | |
tree | 390cff0c45b295eed6e7794ad2572aa88f0f2d0d /app | |
parent | 47d5ef4bd54ac493a35d190d0909059b6e35c0fe (diff) | |
download | gitlab-ce-d6067296def59635a82ede72db0f6cc136c9887b.tar.gz |
Active link based on controller rather than action.
Diffstat (limited to 'app')
-rw-r--r-- | app/views/layouts/nav/_group.html.haml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/layouts/nav/_group.html.haml b/app/views/layouts/nav/_group.html.haml index 72c5b37242a..9095a843c9f 100644 --- a/app/views/layouts/nav/_group.html.haml +++ b/app/views/layouts/nav/_group.html.haml @@ -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 |