user login now drops to a dashboard page
This commit is contained in:
parent
1029fd5854
commit
865d7d18cb
2 changed files with 6 additions and 5 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue