Moved card stuff from users model to new card model

This commit is contained in:
2012-10-14 05:46:19 -07:00
parent ccd432a67d
commit 0254f9aa2c
27 changed files with 384 additions and 332 deletions

View File

@@ -8,7 +8,7 @@
</head>
<body>
<div id="header">
<%= link_to 'Users', users_path if user_signed_in? %>
<%= link_to 'Cards', cards_path if user_signed_in? %>
<%= link_to 'Logs', door_logs_path if user_signed_in? %>
<%= link_to 'Sign out', destroy_user_session_path, :method => :delete if user_signed_in? %>
<%= link_to 'Sign in', new_user_session_path unless user_signed_in? %>