[Nitro] Arbitrary length URIs
Jon A. Lambert
jlsysinc at alltel.net
Tue Jun 6 10:13:00 EDT 2006
Jonathan Buch wrote:
>> I tried this in my repository controller
>> def index(*fpath)
> Which is almost the right way to do it :)
> def show(*fpath)
What's the difference?
> should be used (like your url below) because mapping *fpath to index
> isn't going to work if you have a url like:
> /repository/dir_1/ etc (because it will look for a method called
> `dir_1` in the controller.
My urls aren't like..
I have the action, 'index', in the url.
I had assumed that http://myssite.com/repository/ and
http://myssite.com/repository/index both call the index method of
More information about the Nitro-general