Sha256: c3be3e118b9941d0ca20a873587d244b411cbce79e36e792d340834361138007

Contents?: true

Size: 253 Bytes

Versions: 25

Compression:

Stored size: 253 Bytes

Contents

<% module_namespacing do -%>
class <%= class_name %>Policy < Godmin::Authorization::Policy
  def index?
    true
  end

  def show?
    true
  end

  def create?
    true
  end

  def update?
    true
  end

  def destroy?
    true
  end
end
<% end -%>

Version data entries

25 entries across 25 versions & 1 rubygems

Version Path
godmin-2.3.0 lib/generators/godmin/policy/templates/policy.rb
godmin-2.2.2 lib/generators/godmin/policy/templates/policy.rb
godmin-2.2.1 lib/generators/godmin/policy/templates/policy.rb
godmin-2.2.0 lib/generators/godmin/policy/templates/policy.rb
godmin-2.1.0 lib/generators/godmin/policy/templates/policy.rb
godmin-2.0.0 lib/generators/godmin/policy/templates/policy.rb
godmin-1.5.0 lib/generators/godmin/policy/templates/policy.rb
godmin-1.4.0 lib/generators/godmin/policy/templates/policy.rb
godmin-1.3.1 lib/generators/godmin/policy/templates/policy.rb
godmin-1.3.0 lib/generators/godmin/policy/templates/policy.rb
godmin-1.2.0 lib/generators/godmin/policy/templates/policy.rb
godmin-1.1.0 lib/generators/godmin/policy/templates/policy.rb
godmin-1.0.0 lib/generators/godmin/policy/templates/policy.rb
godmin-0.12.4 lib/generators/godmin/policy/templates/policy.rb
godmin-0.12.3 lib/generators/godmin/policy/templates/policy.rb
godmin-0.12.2 lib/generators/godmin/policy/templates/policy.rb
godmin-0.12.1 lib/generators/godmin/policy/templates/policy.rb
godmin-0.12.0 lib/generators/godmin/policy/templates/policy.rb
godmin-0.11.2 lib/generators/godmin/policy/templates/policy.rb
godmin-0.11.1 lib/generators/godmin/policy/templates/policy.rb