From 9601d53ad6672cc780eb048bc3cac017782f0c33 Mon Sep 17 00:00:00 2001 From: Piotr Sarnacki Date: Mon, 16 Feb 2015 14:14:59 +0100 Subject: [PATCH] We can use @pusher directly, no need for @get --- app/routes/main.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/routes/main.coffee b/app/routes/main.coffee index 3b9c8e60..923166dd 100644 --- a/app/routes/main.coffee +++ b/app/routes/main.coffee @@ -20,6 +20,6 @@ Route = TravisRoute.extend activate: -> # subscribe to pusher only if we're at a main route unless config.pro - @get('pusher').subscribeAll(['common']) + @pusher.subscribeAll(['common']) `export default Route`