Now that we have defined all the possible states that our application can transition into, we need to define handlers to these states. From this point onwards, we will use the terms route and resource handlers interchangeably. A route handler performs the following major functions:
Before we move into discussing these roles, we need to know that a route handler is defined from the
Ember.Route class as:
App.RouteHandlerNameRoute = Ember.Route.extend();
This class is used to define handlers for both resources and routes and therefore, ...