Sha256: b10a13540cc77937f0a27bd56e777c2bd7c183a82f7a8e7da0b265ffd482c840
Contents?: true
Size: 209 Bytes
Versions: 2
Compression:
Stored size: 209 Bytes
Contents
# frozen_string_literal: true class Api::Admin::UsersController < Api::Admin::BaseController def index meta, users = paginate(User.all) render_jsonapi users, type: :user_list, meta: meta end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
n_base_rails-0.1.2 | lib/controllers/api/admin/users_controller.rb |
n_base_rails-0.1.1 | lib/controllers/api/admin/users_controller.rb |