aboutsummaryrefslogtreecommitdiffstats
path: root/app/controllers/calendars_controller.rb
diff options
context:
space:
mode:
authorZog2018-01-31 11:39:39 +0100
committercedricnjanga2018-02-07 07:23:02 -0800
commitbb638da38f8155c5433322c413f465dfa928d4e1 (patch)
treed5923a4d03e53adc875f9f612ee8ad0da121abc4 /app/controllers/calendars_controller.rb
parent9ae8cd98bc3a41dbecd725176bca13e6cdcc92f7 (diff)
downloadchouette-core-bb638da38f8155c5433322c413f465dfa928d4e1.tar.bz2
Refs #5683 @2H; Fix specs and refactor action_links
Note: Did not fix the missing workgroup in the calendar mailer
Diffstat (limited to 'app/controllers/calendars_controller.rb')
-rw-r--r--app/controllers/calendars_controller.rb4
1 files changed, 2 insertions, 2 deletions
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