PostsController refactoring.

Small clean up (methods extraction). Reduces CodeClimate complexity by a little bit.