From ff16e729263fec2dbc694b0735bf1cb29253f868 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Ferrandis?= Date: Wed, 20 Nov 2024 17:38:46 +0100 Subject: [PATCH] Bring back rubocop disable (will fix in next PR) --- app/controllers/search_controller.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/controllers/search_controller.rb b/app/controllers/search_controller.rb index e51a27c9b..b429198dd 100644 --- a/app/controllers/search_controller.rb +++ b/app/controllers/search_controller.rb @@ -14,6 +14,7 @@ def home end end + # rubocop:disable Metrics/PerceivedComplexity def search_rdv # TODO : public_link_organisation_id has to work if agent is logged in ? if current_agent && params[:prescripteur] == Prescripteur::INTERNE && session[:agent_prescripteur_organisation_id] @@ -32,6 +33,7 @@ def search_rdv end end end + # rubocop:enable Metrics/PerceivedComplexity def public_link_with_internal_organisation_id organisation = Organisation.find(params[:organisation_id])