I am going through the getting started guide here
And in section 5.7 it refers to a code snippet that I don’t understand
to do with it.
post GET /posts/:id(.:format) posts#show
I don’t understand if I am supposed to put this code somewhere or not.
guide doesn’t tell me exactly.
I also noticed the same sort of code is discussed in section 5.8 where
posts GET /posts(.:format) posts#index
Any help would be great.