diff options
| author | Alban Peignier | 2018-03-05 21:47:50 +0100 | 
|---|---|---|
| committer | Alban Peignier | 2018-03-05 21:50:13 +0100 | 
| commit | 4a9b3e5868e379fa41b214b35d3ded60d8464a64 (patch) | |
| tree | 237646af446f390c97b506cec2e23e36f1c86b84 /lib | |
| parent | 1733f285e673131f869c60330e25808bb56fc8d7 (diff) | |
| download | chouette-core-4a9b3e5868e379fa41b214b35d3ded60d8464a64.tar.bz2 | |
Use Workbench#calendars in STIF::Dashboard. Refs #6064
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/stif/dashboard.rb | 2 | 
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 | 
