diff --git a/config/navigation.rb b/config/navigation.rb index 504742ae..99032bcc 100644 --- a/config/navigation.rb +++ b/config/navigation.rb @@ -37,7 +37,7 @@ end if current_user - primary.item :log_out, t('katalog.main_navigation.logout'), destroy_user_session_path + primary.item :log_out, t('katalog.main_navigation.logout'), destroy_user_session_path, method: :delete else primary.item :log_in, t('katalog.main_navigation.login'), new_user_session_path end