[Nitro] Problem with controller arguments

Miikka Koskinen arcatan at gmail.com
Wed Aug 17 12:40:28 EDT 2005


Hello!

I'm reimplementing my website in Nitro and I have a little problem. I have 
code like this:

class FooController < Nitro::Controller
  def view(foo, bar)
     # do some stuff
  end
end

Now, this works fine with urls like http://site/view/some/thing (foo="some", 
bar="thing"). But, I would like to have also urls like 
http://site/view/some/thing/nice, where foo = "some", bar = "thing/nice".

Is this possible?

--
Miikka Koskinen

-- 
Miikka Koskinen



More information about the Nitro-general mailing list