Region filter links do not repeat start_date

This commit is contained in:
echarp 2019-06-16 17:56:24 +02:00
parent dfef78fca0
commit a0c4ecce11
1 changed files with 1 additions and 2 deletions

View File

@ -7,8 +7,7 @@
%small
%em.fa.fa-external-link-alt
- else
= link_to start_date: params[:start_date], year: params[:year],
region: params[:region] == filter_region.id.to_s ? '' : filter_region do
= link_to region: params[:region] == filter_region.id.to_s ? '' : filter_region do
- if filter_region.code.present?
= flag_icon filter_region.code.downcase
= t filter_region.code, scope: :countries, default: filter_region.name