Close #21: Remove duplication from BlogPostsController

...ntroller