URL Paths

Hi,

I’m looking to rewrite an existing app in Ruby but it makes extensive
use of URL paths. For example a site would redirect to :

/Portal/foo/

and from this I could tell that ‘foo’ was the site that did the
redirect. Of course when I try this with Ruby I get “method not found”
which is hardly surprising.

I’ve had a quick look round google but I just not sure what it is I need
to do. Can anyone offer me any pointers?

Kind Regards,

Peter P.

Investigate routes. You can pretty much do whatever you want with your
URLs…