Skip to content

Commit

Permalink
Adding modification for link_to sign out
Browse files Browse the repository at this point in the history
  • Loading branch information
yannr77 committed Jan 30, 2012
1 parent 5fc0293 commit 509102a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/layouts/application.html.erb
Expand Up @@ -12,7 +12,7 @@
<div id="admin_nav">
<% if admin_signed_in? %>
Signed in as <%= current_admin.email %>. Not you?
<%= link_to "Sign out", destroy_admin_session_path %>
<%= link_to "Sign out", destroy_admin_session_path, :method => 'delete' %>
<% else %>
<%= link_to "Sign up", new_admin_registration_path %> or
<%= link_to "Sign in", new_admin_session_path %>
Expand Down

0 comments on commit 509102a

Please sign in to comment.