From b7bc6a8ee2e41f6080bace3912e47404f1c448c1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nelson=20Pato=20Jim=C3=A9nez?= Date: Wed, 1 May 2013 22:31:37 -0300 Subject: [PATCH] Update entries_router.js.coffee @collection.fetch() not display data, I add the code commented for Ozkar (@collection.fetch({reset: true})) --- .../app/assets/javascripts/routers/entries_router.js.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/raffler-after/app/assets/javascripts/routers/entries_router.js.coffee b/raffler-after/app/assets/javascripts/routers/entries_router.js.coffee index 2bd6a27..c8d4f74 100644 --- a/raffler-after/app/assets/javascripts/routers/entries_router.js.coffee +++ b/raffler-after/app/assets/javascripts/routers/entries_router.js.coffee @@ -5,7 +5,7 @@ class Raffler.Routers.Entries extends Backbone.Router initialize: -> @collection = new Raffler.Collections.Entries() - @collection.fetch() + @collection.fetch({reset: true}) index: -> view = new Raffler.Views.EntriesIndex(collection: @collection)