I'm trying to change the path of a resource in my app to /

For example, if I had

       resources :books

everything is dandy with normal URLs

       /books/1
       /books/new

but, I want my resources to be the root of the domain like

       /1
       /new

I can't find a way to do it.

i've tried a few things

       resources :books, :path => "/"

and

       resources :books, :path => ""

do not work, as the url generation breaks.

Any ideas?

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"merb" 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/merb?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to