Forum: Ruby on Rails URL Paths

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Pete (Guest)
on 2006-04-12 16:56
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 Palmer
Brian Hogan (Guest)
on 2006-04-12 18:13
(Received via mailing list)
Investigate routes. You can pretty much do whatever you want with your
URLs....
This topic is locked and can not be replied to.