5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-11-24 02:26:29 +00:00

Merge branch 'issue-12886' into panel.sutty.nl
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
f 2023-03-30 19:34:15 -03:00
commit 80120c6bfc

View file

@ -23,6 +23,7 @@
= link_to t('.logout'), main_app.destroy_usuarie_session_path,
method: :delete, role: 'button', class: 'btn'
- else
- params.permit!
- I18n.available_locales.each do |locale|
- next if locale == I18n.locale
= link_to t(locale), "?change_locale_to=#{locale}"
= link_to t(locale), params.to_h.merge(change_locale_to: locale)