Fixed routes.rb and created show template for posts