What does .:format mean in rake routes
That’s the format of the file being requested. For instance, if you want an image, you’d probably have a file extension in the request – for instance, example.com/example_image.png would give you the format as png. This is then included in the request so you can vary response type based of of the format requested, need … Read more