Need help in Routing


#1

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…,??


#2

Thanks all i have found out the solution
we can use

redirect_to :controller => “controllername”, :action => “action”