Sha256: 419300cad765452d146f3c0fa58d4e51ecd52928f10ca33ac2c753f971f300fb

Contents?: true

Size: 292 Bytes

Versions: 5

Compression:

Stored size: 292 Bytes

Contents

# frozen_string_literal: true

module Archangel
  ##
  # Asset policy
  #
  class AssetPolicy < ApplicationPolicy
    ##
    # Check if `#wysiwyg` action is authorized for current user.
    #
    # @return [Boolean] if action is authorized
    #
    def wysiwyg?
      true
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
archangel-0.0.6 app/policies/archangel/asset_policy.rb
archangel-0.0.5 app/policies/archangel/asset_policy.rb
archangel-0.0.4 app/policies/archangel/asset_policy.rb
archangel-0.0.3 app/policies/archangel/asset_policy.rb
archangel-0.0.2 app/policies/archangel/asset_policy.rb