fixes #310
This commit is contained in:
@@ -16,7 +16,7 @@ class UsersController < ApplicationController
|
|||||||
|
|
||||||
def index
|
def index
|
||||||
@search = User.search(params[:search])
|
@search = User.search(params[:search])
|
||||||
@users = @search.paginate(params[:page])
|
@users = @search.paginate(params[:page]).order("users.name")
|
||||||
respond_with(@users)
|
respond_with(@users)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user