On 17 Aug 2010, at 11:00, Hemant Bhargava wrote: > In routes.rb, to create and access a new page everytime i need to write > :page_name => :any to my config/routes.rb. > Can you guys tell me any better alternative to this?
I'm not 100% sure I understoon what you're after but take a look at: http://guides.rubyonrails.org/routing.html. Specifically section 4.9 on route globbing. or http://edgeguides.rubyonrails.org/routing.html. Section 3.10. Cheers, Jim -- 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 rubyonrails-t...@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.