Sha256: c8f02d96e28ba42ac0f63853621ac5527a35026f5e8235ae96e64aa4eac8ba32
Contents?: true
Size: 222 Bytes
Versions: 25
Compression:
Stored size: 222 Bytes
Contents
require "godmin/generators/named_base" class Godmin::PolicyGenerator < Godmin::Generators::NamedBase def create_policy template "policy.rb", File.join("app/policies", class_path, "#{file_name}_policy.rb") end end
Version data entries
25 entries across 25 versions & 1 rubygems