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/staff/people_controller.rb

13 lines
262 B
Ruby
Raw Normal View History

# frozen_string_literal: true
class Staff::PeopleController < ApplicationController
# GET /staff/people
def index
authorize %i[staff person]
@people = policy_scope(
Person,
policy_scope_class: Staff::PersonPolicy::Scope,
)
end
end