get “posts”, to: “pages#posts”, as: “posts”

get "posts/:id", to: "pages#show_post", as: "post"