mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-26 08:36:21 +00:00
fixup! fixup! feat: pluck_param nos ayuda a encontrar un param semanticamente
This commit is contained in:
parent
54a4deac27
commit
aa9574fb0d
1 changed files with 1 additions and 1 deletions
|
@ -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),
|
||||||
|
|
Loading…
Reference in a new issue