trabajo-afectivo/app/policies/controllers/knowledge_base/answer/attachments_controller_policy.rb

5 lines
209 B
Ruby
Raw Normal View History

class Controllers::KnowledgeBase::Answer::AttachmentsControllerPolicy < Controllers::ApplicationControllerPolicy
permit! :clone_to_form, to: 'knowledge_base.*'
default_permit!('knowledge_base.editor')
end