Adding posts resources to routes.rb file