Sha256: 63b1682b0c32b8dd4dfbb89aac656e42fc26466021275deb50fb957db36d42c5

Contents?: true

Size: 200 Bytes

Versions: 28

Compression:

Stored size: 200 Bytes

Contents

require_dependency "renalware/events"

module Renalware
  module Events
    class SwabPolicy < EventPolicy
      def edit?
        true
      end
      alias_method :update?, :edit?
    end
  end
end

Version data entries

28 entries across 28 versions & 1 rubygems

Version Path
renalware-core-2.0.8 app/policies/renalware/events/swab_policy.rb
renalware-core-2.0.7 app/policies/renalware/events/swab_policy.rb
renalware-core-2.0.5 app/policies/renalware/events/swab_policy.rb
renalware-core-2.0.4 app/policies/renalware/events/swab_policy.rb
renalware-core-2.0.3 app/policies/renalware/events/swab_policy.rb
renalware-core-2.0.2 app/policies/renalware/events/swab_policy.rb
renalware-core-2.0.1 app/policies/renalware/events/swab_policy.rb
renalware-core-2.0.0 app/policies/renalware/events/swab_policy.rb
renalware-core-2.0.0.pre.rc13 app/policies/renalware/events/swab_policy.rb
renalware-core-2.0.0.pre.rc11 app/policies/renalware/events/swab_policy.rb
renalware-core-2.0.0.pre.rc10 app/policies/renalware/events/swab_policy.rb
renalware-core-2.0.0.pre.rc9 app/policies/renalware/events/swab_policy.rb
renalware-core-2.0.0.pre.rc8 app/policies/renalware/events/swab_policy.rb
renalware-core-2.0.0.pre.rc7 app/policies/renalware/events/swab_policy.rb
renalware-core-2.0.0.pre.rc6 app/policies/renalware/events/swab_policy.rb
renalware-core-2.0.0.pre.rc5 app/policies/renalware/events/swab_policy.rb
renalware-core-2.0.0.pre.rc4 app/policies/renalware/events/swab_policy.rb
renalware-core-2.0.0.pre.rc3 app/policies/renalware/events/swab_policy.rb
renalware-core-2.0.0.pre.rc1 app/policies/renalware/events/swab_policy.rb
renalware-core-2.0.0.pre.beta12 app/policies/renalware/events/swab_policy.rb