1
0
Fork 0
This repository has been archived on 2023-03-27. You can view files and clone it, but cannot push or open issues or pull requests.
lpr-partynest/app/controllers/settings/roles_controller.rb

13 lines
283 B
Ruby

# frozen_string_literal: true
class Settings::RolesController < ApplicationController
# GET /settings/roles
def index
authorize %i[settings role]
@roles = policy_scope(
current_account.roles,
policy_scope_class: Settings::RolePolicy::Scope,
)
end
end