Forum: Ruby on Rails How to navigate to an external URL from a controller

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
E449ff7a838ac3cdb459da5cb593cbc0?d=identicon&s=25 Jacob Yong (cpyong27)
on 2009-03-04 16:37
I'm using restful_authentication plugin for my webapp. After everything
is setup properly, the user signup, login and logout can work without
any problem.
Now, I don't know how an external URL, such as, can be navigated to the moment a user
has successfully login.

For example, when I login successfully at http://localhost:3000/login,
it is automatically routed to the the Rails Welcome Aboard page. I don't
want that to happen. I want it to go to

Does anyone know how to do that? Appreciate if anyone can help.
7877268675d21c33224951b247d518cf?d=identicon&s=25 Tom M (Guest)
on 2009-03-04 16:59
(Received via mailing list)
config/routes.rb.  There are a ton of good resources out there about
routing in Rails in case you don't know much about how they work.


On Mar 4, 10:37 am, Jacob Yong <>
E449ff7a838ac3cdb459da5cb593cbc0?d=identicon&s=25 Jacob Yong (cpyong27)
on 2009-03-04 17:16
The resources are all about routing internally. If you know any
resources that can help me, please advise. I'm desperate..haha
Ae87d1cf6f5b8f5ae2d42c3ac32caef2?d=identicon&s=25 Scott (Guest)
on 2009-03-05 06:33
(Received via mailing list)
redirect_to ''

On Mar 4, 9:37 am, Jacob Yong <>
E449ff7a838ac3cdb459da5cb593cbc0?d=identicon&s=25 Jacob Yong (cpyong27)
on 2009-03-05 16:03
Thank you, Scott. It works! Just FYI, it's actually

Scott wrote:
> redirect_to ''
> On Mar 4, 9:37�am, Jacob Yong <>
A82ba1167f4d4a8d1de63820e576a87f?d=identicon&s=25 Robby Russell (Guest)
on 2009-03-05 16:33
(Received via mailing list)
Actually... it's both ways. The parenthesis aren't required in ruby
when calling methods.


On Thu, Mar 5, 2009 at 7:03 AM, Jacob Yong
<> wrote:
> Posted via
> >

Robby Russell
Chief Evangelist, Partner

design // development // hosting w/Ruby on Rails
aim: planetargon

+1 503 445 2457
+1 877 55 ARGON [toll free]
+1 815 642 4068 [fax]
This topic is locked and can not be replied to.