test_app/app/views/layouts/application.html.erb in authgasm-0.10.0 vs test_app/app/views/layouts/application.html.erb in authgasm-0.10.1
- old
+ new
@@ -8,14 +8,14 @@
<%= stylesheet_link_tag 'scaffold' %>
</head>
<body>
<% if !@current_user %>
- <%= link_to "Register", new_user_path %> |
+ <%= link_to "Register", new_account_path %> |
<%= link_to "Log In", new_user_session_path %>
<% else %>
<%= link_to "My Account", account_path %> |
- <%= link_to "Logout", logout_path, :confirm => "Are you sure you want to logout?" %>
+ <%= link_to "Logout", user_session_path, :method => :delete, :confirm => "Are you sure you want to logout?" %>
<% end %>
<p style="color: green"><%= flash[:notice] %></p>
<%= yield %>