mirror of
https://github.com/internetee/registry.git
synced 2025-05-17 09:57:23 +02:00
Added admin index default order
This commit is contained in:
parent
2863cd6749
commit
00c6fe90f8
1 changed files with 1 additions and 1 deletions
|
@ -4,7 +4,7 @@ class Admin::AdminUsersController < AdminController
|
||||||
|
|
||||||
def index
|
def index
|
||||||
@q = AdminUser.search(params[:q])
|
@q = AdminUser.search(params[:q])
|
||||||
@admin_users = @q.result.page(params[:page])
|
@admin_users = @q.result.page(params[:page]).order(:username)
|
||||||
end
|
end
|
||||||
|
|
||||||
def new
|
def new
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue