diff options
| author | cedricnjanga | 2018-01-30 23:07:07 -0800 | 
|---|---|---|
| committer | cedricnjanga | 2018-02-06 11:21:37 -0800 | 
| commit | 65ac4e0cf99b5cd40d0e0b052a43427910867a18 (patch) | |
| tree | 52b3fd85191686aa547e2a2260c8503a3cdca4d0 /app/controllers/calendars_controller.rb | |
| parent | 5e7506b377ea13ee5326371fb4ac9e592252cf37 (diff) | |
| download | chouette-core-65ac4e0cf99b5cd40d0e0b052a43427910867a18.tar.bz2 | |
Make some changes to avoid unnacessaty lines of code
Diffstat (limited to 'app/controllers/calendars_controller.rb')
| -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 | 
