Sha256: 69b5e8f93ae4a7b01526e6397b2baa66adb09853b91f80a66bb37aa5ee346b48

Contents?: true

Size: 285 Bytes

Versions: 5

Compression:

Stored size: 285 Bytes

Contents

# frozen_string_literal: true

module Archangel
  ##
  # Entry policy
  #
  class EntryPolicy < ApplicationPolicy
    ##
    # Check if `#sort` action is authorized for current user
    #
    # @return [Boolean] if action is authorized
    #
    def sort?
      true
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

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