aboutsummaryrefslogtreecommitdiffstats
path: root/app/controllers/application_controller.rb
diff options
context:
space:
mode:
authorLuc Donnet2017-09-13 16:56:23 +0200
committerLuc Donnet2017-09-13 16:56:23 +0200
commit3b7bbba3ce2f0a532ac7a8e7d1116e563526f112 (patch)
treeb49075ec37573ca7174794e3db6b7da12d92d583 /app/controllers/application_controller.rb
parent5ee3a180de710d23ceb7660b1bcc454701b42d87 (diff)
parent4804a4886c5267c1be1c367caaf35c17c681d179 (diff)
downloadchouette-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.rb2
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