Fix assign-to-me filter for project issues

This commit is contained in:
Dmitriy Zaporozhets 2013-01-17 13:11:53 +02:00
parent 9115a4f92f
commit b08bb20979

View file

@ -4,8 +4,8 @@
%li{class: ("active" if !params[:status])} %li{class: ("active" if !params[:status])}
= link_to project_issues_path(@project, status: nil) do = link_to project_issues_path(@project, status: nil) do
Open Open
%li{class: ("active" if params[:status] == 'to_me')} %li{class: ("active" if params[:status] == 'assigned-to-me')}
= link_to project_issues_path(@project, status: 'to_me') do = link_to project_issues_path(@project, status: 'assigned-to-me') do
Assigned To Me Assigned To Me
%li{class: ("active" if params[:status] == 'closed')} %li{class: ("active" if params[:status] == 'closed')}
= link_to project_issues_path(@project, status: 'closed') do = link_to project_issues_path(@project, status: 'closed') do