Create routes for posts using 'resources :posts'