trabajo-afectivo/app/policies/controllers/first_steps_controller_policy.rb

4 lines
156 B
Ruby
Raw Normal View History

class Controllers::FirstStepsControllerPolicy < Controllers::ApplicationControllerPolicy
permit! %i[index test_ticket], to: ['ticket.agent', 'admin']
end