FIX: everyone is not a visible group

This commit is contained in:
Sam
2016-10-24 13:03:22 +11:00
parent f083994f5a
commit 9a94d1b212
4 changed files with 8 additions and 1 deletions

View File

@ -1,7 +1,7 @@
class Admin::GroupsController < Admin::AdminController
def index
groups = Group.order(:name)
groups = Group.order(:name).where("name <> 'everyone'")
if search = params[:search]
search = search.to_s