mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-22 20:26:22 +00:00
fix: locale
This commit is contained in:
parent
6b6077f3cc
commit
3b9f95745e
1 changed files with 1 additions and 1 deletions
|
@ -1,6 +1,6 @@
|
||||||
%hr/
|
%hr/
|
||||||
|
|
||||||
- locale = pluck_param(:locale, optional: true).to_h
|
- locale = { locale: (pluck_param(:locale, optional: true) || I18n.locale) }
|
||||||
|
|
||||||
- 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