Skip to content

Commit

Permalink
Fix sign_out link.
Browse files Browse the repository at this point in the history
  • Loading branch information
kitsane committed Dec 3, 2014
1 parent 84519de commit f95b132
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/navigation.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f95b132

Please sign in to comment.