fixed error messages upon user creation

This commit is contained in:
albert
2011-09-11 17:24:44 -04:00
parent 281cb75991
commit 4b998184a4
4 changed files with 9 additions and 16 deletions

View File

@@ -1,7 +1,7 @@
<% content_for(:secondary_links) do %>
<menu>
<li><%= link_to "Listing", users_path %></li>
<li><%= link_to "Register", new_user_path %></li>
<li><%= link_to "Signup", new_user_path %></li>
<% if @user && !@user.new_record? %>
<li>|</li>
<li><%= link_to "Edit", edit_user_path(@user) %></li>