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
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
This commit is contained in:
commit
80120c6bfc
1 changed files with 2 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue