From c0580b3c4c770501525535fd1ddf7e1c98dcee0e Mon Sep 17 00:00:00 2001 From: Andi Staub Date: Wed, 3 Dec 2014 12:32:01 +0100 Subject: [PATCH] Fix sign_out link. --- config/navigation.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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