Sha256: 238e22d01b172de2e554eb6655a02324706356ff3706822d8177003f4a202b3d
Contents?: true
Size: 288 Bytes
Versions: 4
Compression:
Stored size: 288 Bytes
Contents
module Pundit module Generators class InstallGenerator < ::Rails::Generators::Base source_root File.expand_path('templates', __dir__) def copy_application_policy template 'application_policy.rb', 'app/policies/application_policy.rb' end end end end
Version data entries
4 entries across 4 versions & 1 rubygems