rails g scaffold User name:string password:digest
add validates for User model
add the ‘bcrypt-ruby’ gem
update users controller for index create and update action
add notice in index page of users
update the partial _form for users
rails g controller Sessions new create destroy
rails g controller Admin index
add pry gem for debugger
fix the noice errors
update create and destroy action for sessions controller
update the view of create new user page
update the the index page for admin use
set up the count for admin controller
update routes for admin
limit access with before_action and skip_before_action
add a sidebar for Order Products and Users
ensure an admin remain
fix some bugs
Merge pull request #11 from hxx/Logging-In

Logging in