diff options
| author | Luc Donnet | 2017-09-13 16:56:23 +0200 |
|---|---|---|
| committer | Luc Donnet | 2017-09-13 16:56:23 +0200 |
| commit | 3b7bbba3ce2f0a532ac7a8e7d1116e563526f112 (patch) | |
| tree | b49075ec37573ca7174794e3db6b7da12d92d583 /app/controllers/application_controller.rb | |
| parent | 5ee3a180de710d23ceb7660b1bcc454701b42d87 (diff) | |
| parent | 4804a4886c5267c1be1c367caaf35c17c681d179 (diff) | |
| download | chouette-core-3b7bbba3ce2f0a532ac7a8e7d1116e563526f112.tar.bz2 | |
Merge branch 'master' of github.com:AF83/stif-boiv
Diffstat (limited to 'app/controllers/application_controller.rb')
| -rw-r--r-- | app/controllers/application_controller.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/application_controller.rb b/app/controllers/application_controller.rb index 8cb5726c4..853c2f715 100644 --- a/app/controllers/application_controller.rb +++ b/app/controllers/application_controller.rb @@ -34,7 +34,7 @@ class ApplicationController < ActionController::Base helper_method :current_organisation def current_offer_workbench - current_organisation.workbenches.where(name: "Gestion de l'offre") + current_organisation.workbenches.find_by_name("Gestion de l'offre") end helper_method :current_offer_workbench |
