5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-11-25 23:06:22 +00:00

fix: error de indentación

This commit is contained in:
maki 2024-05-31 10:41:27 -03:00
parent fccfbc225b
commit d6f3cdd10e

View file

@ -27,9 +27,9 @@
%li.nav-item
= link_to t('.logout'), main_app.destroy_usuarie_session_path,
method: :delete, role: 'button', class: 'btn btn-secondary'
- else
- params.permit!
- I18n.available_locales.each do |locale|
- next if locale == I18n.locale
%li.nav-item
= link_to t("switch_locale.#{locale}"), params.to_h.merge(change_locale_to: locale)
- else
- params.permit!
- I18n.available_locales.each do |locale|
- next if locale == I18n.locale
%li.nav-item
= link_to t("switch_locale.#{locale}"), params.to_h.merge(change_locale_to: locale)