diff options
| -rw-r--r-- | app/controllers/calendars_controller.rb | 1 | 
1 files changed, 1 insertions, 0 deletions
| diff --git a/app/controllers/calendars_controller.rb b/app/controllers/calendars_controller.rb index 3b7b6de15..75d4cbd09 100644 --- a/app/controllers/calendars_controller.rb +++ b/app/controllers/calendars_controller.rb @@ -18,6 +18,7 @@ class CalendarsController < ChouetteController    def show      show! do +      @year = params[:year] ? params[:year].to_i : Date.today.cwyear        @calendar = @calendar.decorate(context: {          workgroup: workgroup        }) | 
