From bb638da38f8155c5433322c413f465dfa928d4e1 Mon Sep 17 00:00:00 2001 From: Zog Date: Wed, 31 Jan 2018 11:39:39 +0100 Subject: Refs #5683 @2H; Fix specs and refactor action_links Note: Did not fix the missing workgroup in the calendar mailer --- app/controllers/calendars_controller.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'app/controllers') diff --git a/app/controllers/calendars_controller.rb b/app/controllers/calendars_controller.rb index e0dd68405..585851f00 100644 --- a/app/controllers/calendars_controller.rb +++ b/app/controllers/calendars_controller.rb @@ -7,7 +7,7 @@ class CalendarsController < ChouetteController respond_to :html respond_to :json, only: :show respond_to :js, only: :index - + belongs_to :workgroup def index @@ -125,4 +125,4 @@ class CalendarsController < ChouetteController scope end -end \ No newline at end of file +end -- cgit v1.2.3