summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhil Hughes <me@iamphill.com>2017-09-22 12:26:23 +0100
committerPhil Hughes <me@iamphill.com>2017-09-22 12:26:23 +0100
commit8eb2d741ad038a80759b8db94ad475ad86f46543 (patch)
tree06af757f82ca06085351d9e09f02e3a788a3de12
parenteab0ca8a0b2950dbbcf6662c34b2fc8313ba9bde (diff)
downloadgitlab-ce-project-page-clearer.tar.gz
simplify link_to callproject-page-clearer
-rw-r--r--app/views/dashboard/projects/_nav.html.haml6
1 files changed, 2 insertions, 4 deletions
diff --git a/app/views/dashboard/projects/_nav.html.haml b/app/views/dashboard/projects/_nav.html.haml
index 697211d7ce8..3701e1c0578 100644
--- a/app/views/dashboard/projects/_nav.html.haml
+++ b/app/views/dashboard/projects/_nav.html.haml
@@ -1,8 +1,6 @@
.top-area
%ul.nav-links
= nav_link(html_options: { class: ("active" unless params[:personal].present?) }) do
- = link_to dashboard_projects_path do
- #{ s_('DashboardProjects|All') }
+ = link_to s_('DashboardProjects|All'), dashboard_projects_path
= nav_link(html_options: { class: ("active" if params[:personal].present?) }) do
- = link_to filter_projects_path(personal: true) do
- #{ s_('DashboardProjects|Personal') }
+ = link_to s_('DashboardProjects|Personal'), filter_projects_path(personal: true)