aboutsummaryrefslogtreecommitdiffstats
path: root/lib/stif
diff options
context:
space:
mode:
authorZog2018-03-01 10:26:06 +0100
committerZog2018-03-01 10:26:06 +0100
commitf62b28cad97b6c7c7e281f368e599acd54d4e559 (patch)
tree6a6dcdbc24926afddb9245c4502eabfa4e951f68 /lib/stif
parent4acb5a53da2995aacc7b6ce2c802ad16fa563bf8 (diff)
downloadchouette-core-f62b28cad97b6c7c7e281f368e599acd54d4e559.tar.bz2
Refs #6064; Use same logic to load calendars in dashboard and in controller6064-inconsistency-in-dashboard
Diffstat (limited to 'lib/stif')
-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 46c635091..2f5792547 100644
--- a/lib/stif/dashboard.rb
+++ b/lib/stif/dashboard.rb
@@ -1,7 +1,7 @@
module Stif
class Dashboard < ::Dashboard
def workbench
- @workbench ||= current_organisation.workbenches.find_by(name: "Gestion de l'offre")
+ @workbench ||= current_organisation.workbenches.default
end
def workgroup