diff options
| -rw-r--r-- | app/controllers/calendars_controller.rb | 3 | 
1 files changed, 2 insertions, 1 deletions
| diff --git a/app/controllers/calendars_controller.rb b/app/controllers/calendars_controller.rb index aa79c3cf8..f029b66f7 100644 --- a/app/controllers/calendars_controller.rb +++ b/app/controllers/calendars_controller.rb @@ -1,5 +1,4 @@  class CalendarsController < ChouetteController -  include WorkgroupSupport    include PolicyChecker    include TimeTablesHelper @@ -8,6 +7,8 @@ class CalendarsController < ChouetteController    respond_to :html    respond_to :json, only: :show    respond_to :js, only: :index +   +  belongs_to :workgroup    belongs_to :workgroup | 
