diff --git a/app/views/events/index.html.haml b/app/views/events/index.html.haml
index 08b34f71..6da91690 100644
--- a/app/views/events/index.html.haml
+++ b/app/views/events/index.html.haml
@@ -1,9 +1,9 @@
- if params[:year]
%header.calendar-header.year
- = link_to year: params[:year].to_i - 1, tag: params[:tag] do
+ = link_to year: params[:year].to_i - 1 do
%em.fa.fa-backward
= params[:year]
- = link_to year: params[:year].to_i + 1, tag: params[:tag] do
+ = link_to year: params[:year].to_i + 1 do
%em.fa.fa-forward
:ruby
set_meta_tags(
diff --git a/app/views/simple_calendar/_month_calendar.html.haml b/app/views/simple_calendar/_month_calendar.html.haml
index 2a1819dc..e140a1b8 100644
--- a/app/views/simple_calendar/_month_calendar.html.haml
+++ b/app/views/simple_calendar/_month_calendar.html.haml
@@ -1,17 +1,14 @@
%header.calendar-header
- if params[:year]
- = link_to start_date: start_date.beginning_of_month,
- tag: params[:tag] do
+ = link_to start_date: start_date.beginning_of_month do
= I18n.t('date.month_names')[start_date.month]
= start_date.year
- else
- = link_to '<<', start_date: (date_range.first - 1.day).beginning_of_month,
- tag: params[:tag]
+ = link_to '<<', start_date: (date_range.first - 1.day).beginning_of_month
= I18n.t('date.month_names')[start_date.month]
= link_to root_path(year: start_date.year) do
= start_date.year
- = link_to '>>', start_date: (date_range.last + 1.day).beginning_of_month,
- tag: params[:tag]
+ = link_to '>>', start_date: (date_range.last + 1.day).beginning_of_month
%table.table.table-striped
%thead