Forum: Ruby on Rails Need help in Routing

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.
19a55cc28369e7d4b1083382ea8a79f2?d=identicon&s=25 thamu .. (thameem)
on 2007-04-17 07: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
controller,
Can anybody here help me...,??
19a55cc28369e7d4b1083382ea8a79f2?d=identicon&s=25 thamu .. (thameem)
on 2007-04-17 07: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.