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

fix: locale

This commit is contained in:
f 2024-07-20 13:11:53 -03:00
parent 6b6077f3cc
commit 3b9f95745e
No known key found for this signature in database

View file

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