diff options
| author | Luc Donnet | 2017-07-21 09:58:02 +0200 |
|---|---|---|
| committer | Luc Donnet | 2017-07-21 09:58:02 +0200 |
| commit | 7b297ba1410e82ea3d38f2be3c2d34596e52306a (patch) | |
| tree | 273c08c8339a6a10d2c85025bffbdd9d7b755088 /app/controllers | |
| parent | 91bfabc3b46973409de4279063804e0edaea1c27 (diff) | |
| download | chouette-core-7b297ba1410e82ea3d38f2be3c2d34596e52306a.tar.bz2 | |
Fix referentials count in homepage Refs #4136 @1
Diffstat (limited to 'app/controllers')
| -rw-r--r-- | app/controllers/workbenches_controller.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/controllers/workbenches_controller.rb b/app/controllers/workbenches_controller.rb index 171db6a07..19af28a98 100644 --- a/app/controllers/workbenches_controller.rb +++ b/app/controllers/workbenches_controller.rb @@ -7,6 +7,7 @@ class WorkbenchesController < BreadcrumbController def index # Only display Wb with selected name, according to #4108 @workbench = current_organisation.workbenches.find_by(name: "Gestion de l'offre") + @referentials = @workbench.all_referentials @calendars = Calendar.where('organisation_id = ? OR shared = ?', current_organisation.id, true) end |
