Unverified Commit 8eb2d741 authored by Phil Hughes's avatar Phil Hughes
Browse files

simplify link_to call

parent 9e865af21779
.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)
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