Manages routing behavior.
The default implementation provides before and after callbacks that are
executed before and after a route gets triggered.
- Mixes In:
Methods
- 
    <static> after(route [, args])
- 
    
    Gets called after a route gets triggered. The default implementation does nothing. Parameters:Name Type Argument Description routestring Route name. argsArray <optional> 
 Route parameters. 
- 
    <static> beforeRoute(route [, args])
- 
    
    Checks if a user is authenticated before triggering a route. Parameters:Name Type Argument Description routestring Route name. argsArray <optional> 
 Route parameters. Returns:trueif the route should be triggered;falseotherwise.- Type
- boolean
 
- 
    <static> start()
- 
    
    Creates a router instance, attaches it to the App object and starts it. Fires:- event:'router:start'
 
- 
    <static> stop()
- 
    
    Internal use only - for unit testing Routers. Disables Backbone.historytemporarily.- Deprecated:
- 
        - since 7.10. Please use Core.Router#stop instead.