From aa9574fb0d9cb5170f00adccdad5102365757c51 Mon Sep 17 00:00:00 2001 From: f Date: Thu, 11 Jul 2024 16:43:10 -0300 Subject: [PATCH] fixup! fixup! feat: pluck_param nos ayuda a encontrar un param semanticamente --- app/views/devise/shared/_links.haml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/devise/shared/_links.haml b/app/views/devise/shared/_links.haml index a4c99c03..8d7e9a42 100644 --- a/app/views/devise/shared/_links.haml +++ b/app/views/devise/shared/_links.haml @@ -1,6 +1,6 @@ %hr/ -- locale = pluck_param(:locale, optional: true) +- locale = pluck_param(:locale, optional: true).to_h - if controller_name != 'sessions' = link_to t('.sign_in'), new_session_path(resource_name, params: locale),