Commit 8eb2d741 authored by Phil Hughes's avatar Phil Hughes

simplify link_to call

parent eab0ca8a
.top-area .top-area
%ul.nav-links %ul.nav-links
= nav_link(html_options: { class: ("active" unless params[:personal].present?) }) do = nav_link(html_options: { class: ("active" unless params[:personal].present?) }) do
= link_to dashboard_projects_path do = link_to s_('DashboardProjects|All'), dashboard_projects_path
#{ s_('DashboardProjects|All') }
= nav_link(html_options: { class: ("active" if params[:personal].present?) }) do = nav_link(html_options: { class: ("active" if params[:personal].present?) }) do
= link_to filter_projects_path(personal: true) do = link_to s_('DashboardProjects|Personal'), filter_projects_path(personal: true)
#{ s_('DashboardProjects|Personal') }
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment