define(["ember","app"],function(a,b){return b.AlbumsIndexRoute=a.Route.extend({model:function(){return{}},setupController:function(a,b){var c=this;a.set("model",b);var d=3,e={};this.get("session.online")!=a.get("online")&&(d--,e.online=this.get("session.online")),a.get("activeCategory")||(d--,e.activeCategory=a.get("categories").objectAt(0)),!c.get("session.schoolyear")||a.get("schoolyear")&&a.get("histories").contains(a.get("schoolyear"))||(d--,e.schoolyear=c.get("session.schoolyear")),a.set("filterCount",d),a.setProperties(e)}})});