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

5 lines
162 B
Ruby
Raw Normal View History

class Controllers::CalendarsControllerPolicy < Controllers::ApplicationControllerPolicy
permit! :timezones, to: 'admin'
default_permit!('admin.calendar')
end