docbrown/app/controllers/internal/permissions_controller.rb
Ben Halpern ec6d66018f
Add some html to internal articles and new internal view (#4636)
* Add some html to internal articles and new internal view

* Add check for article existence for buffer updates

* Change arrays to unions
2019-10-28 19:09:24 -04:00

7 lines
239 B
Ruby

class Internal::PermissionsController < Internal::ApplicationController
layout "internal"
def index
@users = User.with_role(:admin).union(User.with_role(:super_admin)).union(User.with_role(:single_resource_admin, :any))
end
end