From 808ac9b9426b6be7f1628aa80fe6f5bb1930c5f7 Mon Sep 17 00:00:00 2001 From: Martin Edenhofer Date: Fri, 5 Oct 2012 08:42:49 +0200 Subject: [PATCH] Small code style improvement. --- .../app/controllers/_application_controller_generic.js.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/assets/javascripts/app/controllers/_application_controller_generic.js.coffee b/app/assets/javascripts/app/controllers/_application_controller_generic.js.coffee index 05fc2f49b..e85a43818 100644 --- a/app/assets/javascripts/app/controllers/_application_controller_generic.js.coffee +++ b/app/assets/javascripts/app/controllers/_application_controller_generic.js.coffee @@ -154,7 +154,7 @@ class App.ControllerGenericIndex extends App.Controller # remove ignored items from collection if @ignoreObjectIDs - objects = _.filter(objects, (item) -> + objects = _.filter( objects, (item) -> return if item.id is 1 return item )