PDA

View Full Version : using routes in a ViewController



mgusmano
17 Apr 2014, 7:39 AM
I am trying to implement routes in my app and I see that to go to a new route you call this.redirecTo(), which is a method in the controller class where you defined the route, typically a global controller. What if I want to call the redirectTo() method from some other location, like in a View Controller, how do I do that?

Carun
17 Apr 2014, 8:19 AM
redirectTo() is available in the ViewController as well.