Skip to content

Commit

Permalink
standardize showSelect amongst category and topic_list routes
Browse files Browse the repository at this point in the history
  • Loading branch information
psychobunny committed Mar 19, 2015
1 parent 0ebad0f commit d2dae2d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/controllers/categories.js
Original file line number Diff line number Diff line change
Expand Up @@ -277,6 +277,7 @@ categoriesController.get = function(req, res, next) {
},
function (categoryData, next) {
categoryData.privileges = userPrivileges;
categoryData.showSelect = categoryData.privileges.editable;

res.locals.metaTags = [
{
Expand Down

0 comments on commit d2dae2d

Please sign in to comment.