Sha256: bad9f78b6554c728a16f7ef6512eb65ed00beb11dc69f088b7ae1acf1eea882d
Contents?: true
Size: 368 Bytes
Versions: 1
Compression:
Stored size: 368 Bytes
Contents
# app/policies/application_policy class Hyperloop::ApplicationPolicy # Allow any session to connect: always_allow_connection # Send all attributes from all public models regulate_all_broadcasts { |policy| policy.send_all } # Allow all changes to public models allow_change(to: :all, on: [:create, :update, :destroy]) { true } end if Rails.env.development?
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
hyper-model-0.6.0 | examples/chat-app/app/policies/application_policy.rb |