aboutsummaryrefslogtreecommitdiffstats
path: root/lib/stif/dashboard.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/stif/dashboard.rb')
-rw-r--r--lib/stif/dashboard.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/stif/dashboard.rb b/lib/stif/dashboard.rb
index 2f5792547..f558b79fb 100644
--- a/lib/stif/dashboard.rb
+++ b/lib/stif/dashboard.rb
@@ -13,7 +13,7 @@ module Stif
end
def calendars
- @calendars ||= Calendar.where('(organisation_id = ? OR shared = ?) AND workgroup_id = ?', current_organisation.id, true, workgroup.id)
+ workbench.calendars
end
end
end