5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-11-26 08:16:26 +00:00

fixup! fixup! feat: pluck_param nos ayuda a encontrar un param semanticamente

This commit is contained in:
f 2024-07-11 16:43:10 -03:00
parent 54a4deac27
commit aa9574fb0d
No known key found for this signature in database

View file

@ -1,6 +1,6 @@
%hr/ %hr/
- locale = pluck_param(:locale, optional: true) - locale = pluck_param(:locale, optional: true).to_h
- if controller_name != 'sessions' - if controller_name != 'sessions'
= link_to t('.sign_in'), new_session_path(resource_name, params: locale), = link_to t('.sign_in'), new_session_path(resource_name, params: locale),