From 4604c411950ad2a4b27adaf353abfccb5186396c Mon Sep 17 00:00:00 2001 From: Martin Edenhofer Date: Tue, 23 Oct 2012 22:31:26 +0200 Subject: [PATCH] Fixes typo. --- app/assets/javascripts/app/lib/auth.js.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/assets/javascripts/app/lib/auth.js.coffee b/app/assets/javascripts/app/lib/auth.js.coffee index a18e1c8a1..29a67b767 100644 --- a/app/assets/javascripts/app/lib/auth.js.coffee +++ b/app/assets/javascripts/app/lib/auth.js.coffee @@ -66,7 +66,7 @@ class App.Auth # refresh/load default collections for key, value of data.default_collections - App.Collection.rest( type: key, data: value ) + App.Collection.reset( type: key, data: value ) # rebuild navbar with new navbar items Spine.trigger 'navrebuild', data.session