alexanderdavidpan/Microscope — pull request #17 by alexanderdavidpan (2014-08-15 07:18:18+00:00)
Title: Create and use method to submit post

- Add call to post method for post submission
- Error handling will alert user of error, otherwise the user is redirected to newly created post
- Add post method to application
- Post method ensures that the user is logged in, the post has a title, and there are no previous posts with the same link
- Post method will submit post to DB if all validations are valid
- Return userID after post is posted