correct no highlighting categories when clicked

This commit is contained in:
Sam 2013-07-23 13:24:39 +10:00
parent 060c79ecc0
commit 3ad7d74c52
1 changed files with 6 additions and 1 deletions

View File

@ -38,7 +38,12 @@ Discourse.ListCategoriesRoute = Discourse.Route.extend({
afterModel: function(categoryList) {
this.controllerFor('list').setProperties({
canCreateCategory: categoryList.get('can_create_category'),
canCreateTopic: categoryList.get('can_create_topic'),
canCreateTopic: categoryList.get('can_create_topic')
});
},
enter: function() {
this.controllerFor('list').setProperties({
filterMode: 'categories',
category: null
});