
We don't want to subscribe if we're at any other routes, because there is no data there. The main target is to avoid all of the notifications from a common channel if we're on the /dashboard route.
8 lines
112 B
CoffeeScript
8 lines
112 B
CoffeeScript
require 'routes/route'
|
|
|
|
TravisRoute = Travis.Route
|
|
|
|
Route = TravisRoute.extend()
|
|
|
|
Travis.DashboardRoute = Route
|