added redcarpet gem
added auto_html gem
lots of changes to post rendering
- added autohtml to handle videos
- refactored previous implementation to be more object oriented
- created a helper which instantiates instance in the post controller
- tip: when linking to other sites, needs absolute path
added posts to schema
no hardwrapping on index page for previews
empty post update method
empty post update template
added helper to check for admin...
included links to edit post in each post
changed update method to edit
implement edit and update method
- right now, the pages do not return any errors but the methods are still untested
can edit post
- each post can update accordingly, will get redirected to root after update
fix profile to post association
- posts now record a profile_id, which should be me - the admin
redirect to updated post page after edit
posts descend, redirect after edit & update
- posts are now ordered by descending order so that the posts show newest first
- fixed redirect paths when success for edit and update
code golf for edit and update methods
get rid of empty admin method
put back admin method
- completely forgot that I need that admin method to view my dashboard
removed index method from profile controller
Merge pull request #2 from missingno15/update_posts

Update posts