lib/generators/ckeditor/templates/action_policy/picture_policy.rb
# frozen_string_literal: true
class Ckeditor::PicturePolicy < ApplicationPolicy
# See https://actionpolicy.evilmartians.io/#/writing_policies
#
def index?
user.present?
end
def create?
user.present?
end
def destroy?
user.present?
end
end