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 43ed0cfd9..5cc7912b7 100644 --- a/app/controllers/calendars_controller.rb +++ b/app/controllers/calendars_controller.rb @@ -15,6 +15,7 @@ class CalendarsController < ChouetteController end def show + @year = params[:year] ? params[:year].to_i : Date.today.cwyear end def month |
