What does .:format mean in rake routes
问题 I type rake routes and I get a bunch of urls like this - /articles/:id(.:format) My question is - what does the .:format mean? It is not clear from the Rails Guides Routing article and there are no other helpful matches for .:format on StackOverflow or google. There is a similar format which is /:controller(/:action(/:id(.:format))) which I also don't understand. Thanks EDIT follow up question - If I wanted to only route HTML pages. Would it be best practice to specify something like .:html