Sha256: 446041520da9e4fe3792ed2cb0711c257e162fe9e0d8363957cabf3bba8ca407

Contents?: true

Size: 247 Bytes

Versions: 8

Compression:

Stored size: 247 Bytes

Contents

module Locomotive
  class TranslationPolicy < ApplicationPolicy

    def index?
      site_staff?
    end

    def create?
      site_staff?
    end

    def update?
      site_staff?
    end

    def destroy?
      site_staff?
    end

  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
locomotivecms-3.0.0.rc4 app/policies/locomotive/translation_policy.rb
locomotivecms-3.0.0.rc3 app/policies/locomotive/translation_policy.rb
locomotivecms-3.0.0.rc2 app/policies/locomotive/translation_policy.rb
locomotivecms-3.0.0.rc1 app/policies/locomotive/translation_policy.rb
locomotivecms-3.0.0.pre.beta.1 app/policies/locomotive/translation_policy.rb
locomotivecms-3.0.0.pre.alpha.3 app/policies/locomotive/translation_policy.rb
locomotivecms-3.0.0.pre.alpha.2 app/policies/locomotive/translation_policy.rb
locomotivecms-3.0.0.pre.alpha app/policies/locomotive/translation_policy.rb