From 920c8c0c32b625e801ef2e074643c28fe229c905 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Chai=CC=88b=20Martinez?= Date: Mon, 27 May 2019 16:30:03 +0200 Subject: [PATCH] Add Gestionnaire ID and ROLES MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Chaìˆb Martinez --- app/controllers/application_controller.rb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/app/controllers/application_controller.rb b/app/controllers/application_controller.rb index 5dbfd7a61..c87f47a4d 100644 --- a/app/controllers/application_controller.rb +++ b/app/controllers/application_controller.rb @@ -231,7 +231,9 @@ class ApplicationController < ActionController::Base DS_SIGN_IN_COUNT: current_administrateur&.sign_in_count, DS_CREATED_AT: current_administrateur&.created_at, DS_ACTIVE: current_administrateur&.active, - DS_ID: current_administrateur&.id + DS_ID: current_administrateur&.id, + DS_GESTIONNAIRE_ID: current_gestionnaire&.id, + DS_ROLES: logged_user_roles } } }