Sha256: 106b5fcf3d5ab3069087435021790dc2ada8856b3727b061cbcf177107963d61

Contents?: true

Size: 326 Bytes

Versions: 53

Compression:

Stored size: 326 Bytes

Contents

# frozen_string_literal: true

require_dependency "renalware/events"

module Renalware
  module Events
    class EventPolicy < BasePolicy
      # The default Event is not editable. See SwabPolicy for an example of enabling editing.
      def edit?
        false
      end
      alias_method :update?, :edit?
    end
  end
end

Version data entries

53 entries across 53 versions & 1 rubygems

Version Path
renalware-core-2.0.68 app/policies/renalware/events/event_policy.rb
renalware-core-2.0.67 app/policies/renalware/events/event_policy.rb
renalware-core-2.0.64 app/policies/renalware/events/event_policy.rb
renalware-core-2.0.63 app/policies/renalware/events/event_policy.rb
renalware-core-2.0.62 app/policies/renalware/events/event_policy.rb
renalware-core-2.0.61 app/policies/renalware/events/event_policy.rb
renalware-core-2.0.60 app/policies/renalware/events/event_policy.rb
renalware-core-2.0.58 app/policies/renalware/events/event_policy.rb
renalware-core-2.0.57 app/policies/renalware/events/event_policy.rb
renalware-core-2.0.56 app/policies/renalware/events/event_policy.rb
renalware-core-2.0.55 app/policies/renalware/events/event_policy.rb
renalware-core-2.0.54 app/policies/renalware/events/event_policy.rb
renalware-core-2.0.53 app/policies/renalware/events/event_policy.rb
renalware-core-2.0.52 app/policies/renalware/events/event_policy.rb
renalware-core-2.0.51 app/policies/renalware/events/event_policy.rb
renalware-core-2.0.50 app/policies/renalware/events/event_policy.rb
renalware-core-2.0.48 app/policies/renalware/events/event_policy.rb
renalware-core-2.0.47 app/policies/renalware/events/event_policy.rb
renalware-core-2.0.46 app/policies/renalware/events/event_policy.rb
renalware-core-2.0.45 app/policies/renalware/events/event_policy.rb