summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorMarin Jankovski <marin@gitlab.com>2014-07-09 11:38:29 +0200
committerMarin Jankovski <marin@gitlab.com>2014-07-09 11:38:29 +0200
commitd6067296def59635a82ede72db0f6cc136c9887b (patch)
tree390cff0c45b295eed6e7794ad2572aa88f0f2d0d /app
parent47d5ef4bd54ac493a35d190d0909059b6e35c0fe (diff)
downloadgitlab-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.haml2
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