Forum: Ruby on Rails Need help in Routing

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.
thamu .. (Guest)
on 2007-04-17 09:16
hi all,

i have 2 controllers:

      1) Login
      2) admin

When i am logging in my application i want to navigate it into admin
Can anybody here help me...,??
thamu .. (Guest)
on 2007-04-17 09:23
Thanks all i have found out the solution
we can use

redirect_to :controller => "controllername", :action => "action"
This topic is locked and can not be replied to.