BUGFIX: incorrect ordering in category permissions

FEATURE: UI for categories that we allow badges on
This commit is contained in:
Sam
2014-07-10 12:01:46 +10:00
parent 928848c0a8
commit 2f8d139ec0
7 changed files with 30 additions and 6 deletions

View File

@ -30,7 +30,7 @@ class Site
end
def group_names
@group_name ||= Group.pluck(:name)
@group_name ||= Group.order(:name).pluck(:name)
end
def categories