user login now drops to a dashboard page

This commit is contained in:
maxwell 2010-06-13 20:00:31 -07:00
parent 1029fd5854
commit 865d7d18cb
2 changed files with 6 additions and 5 deletions

View file

@ -1,10 +1,10 @@
- title "Users"
- title "Dashboard"
%table
%tr
%th User
%th Password
- for user in @users
%tr
%td= user.password
%p= link_to "New User", new_user_path
%td= user.email
%td= user.encrypted_password

View file

@ -2,8 +2,9 @@ require File.dirname(__FILE__) + '/../spec_helper'
describe UsersController do
render_views
#fixtures here?
it 'should, after logging in redirect to the dashboard page' do
pending
puts "where is rafi"
end
end