Hi,

I noticed that all routes have an alternative format ending in .:format. I
tried this out, adding .html to some routes, and it worked.

But I wondered how you can add an extension like this automatically to
generated paths? For instance if I have a model named Book, and so a route
named books_path, how can I get: /books.html?

Thanks,
Brandon


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to