Skip to content

Commit

Permalink
Fix sign_out link.
Browse files Browse the repository at this point in the history
  • Loading branch information
kitsane authored and toupeira committed Mar 31, 2015
1 parent 648f9f9 commit c0580b3
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 c0580b3

Please sign in to comment.