Install cancancan
Basic setting of ability.rb
Done the basic authrization
Add time zone to taipei
Add admin to user
Add admin controller
auto g by rails (while g admin controller)
Add flash error to _flash partial
remove the validation in view(admin post index)
Adjust ability.rb
remove user_id in admin posts' form
Add new admin users including model and controller
Fron-end adjustment
add admin/users controller
Done change multiple users role
add bootstrap class to admin user index
Add publish to posts (default:false)
Adjust the brand of admin.html
move the render title method from model to helper
Add published scope