Add Posts

* Add posts migration and model
* Add posts controller and basic methods
* Add resources :posts to routes
Add rest of files from previous commit message
add homes controller, add show homepage, route configuration
edited homes view
Add views for posts

* Add create and edit pages
* Add form for posts
* Add post show pages
* Add create, edit, delete buttons to proper pages
* Add has_many posts to users
* Correct redirects
Correct order within posts model as suggested by Eli
Correct small code issues in html.erb files

* Switch classes to use dashes instead of underscores
* Add new lines to the files that did not have them
Add null: false to post title

* Title is required by validation so should be required in database
Add dependent: :destroy to posts in user model

* We do not want post orphans if a user closes their account
fix no newline
Merge pull request #4 from elijahkim/ha-posts

Add posts class and functionality

* Make new posts
* Edit posts
* View posts
* Delete posts
* Allow inclusion of images
Create Categories

* Created Categories controller
* Modified Routes
* Created Categories model
* Put link to create categry in admin page
* Gave ability to create a category
Allow Admin to edit category

* Added def edit, def update
* User can only access show and index pages
Give admin ability to delete a category

* If admin delete link appears in category view
* Only an admin can delete
* Changed index to links of categories
Fix spacing errors
Updated Category model to not have a relation to region
Add check_admin into application controller

* Rename check_authorization to check_admin
* Move check_admin to application controller
Category name can't be null

* Changed category model to validate name presence true
* Migrated name in category table to null: :false
Remove posts from schema