
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.
9 lines
136 B
CoffeeScript
9 lines
136 B
CoffeeScript
require 'views/view'
|
|
|
|
TravisView = Travis.View
|
|
|
|
View = TravisView.extend
|
|
layoutName: 'layouts/dashboard'
|
|
|
|
Travis.DashboardView = View
|