mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-13 19:54:02 +00:00
Update Admin user datatables to use AJAX
This commit is contained in:
parent
600e394cf8
commit
64ceaf50f4
6 changed files with 290 additions and 53 deletions
|
|
@ -20,7 +20,12 @@ module Admin
|
|||
end
|
||||
|
||||
def index
|
||||
@users = User.all
|
||||
respond_to do |format|
|
||||
format.html
|
||||
format.json do
|
||||
render json: UserDatatable.new(view_context)
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
# This action allow admins to manually toggle confirmation state of another user
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue