Sha256: 8647f16e18351f65ba80975230e2562c7e0734c113269414b631788ba8048d24

Contents?: true

Size: 297 Bytes

Versions: 8

Compression:

Stored size: 297 Bytes

Contents

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

8 entries across 8 versions & 1 rubygems

Version Path
renalware-core-2.0.0.pre.beta11 app/policies/renalware/events/event_policy.rb
renalware-core-2.0.0.pre.beta10 app/policies/renalware/events/event_policy.rb
renalware-core-2.0.0.pre.beta9 app/policies/renalware/events/event_policy.rb
renalware-core-2.0.0.pre.beta8 app/policies/renalware/events/event_policy.rb
renalware-core-2.0.0.pre.beta7 app/policies/renalware/events/event_policy.rb
renalware-core-2.0.0.pre.beta6 app/policies/renalware/events/event_policy.rb
renalware-core-2.0.0.pre.beta5 app/policies/renalware/events/event_policy.rb
renalware-core-2.0.0.pre.beta4 app/policies/renalware/events/event_policy.rb