Sha256: 3bb76ff3ba0e0e1206350296c8821e17874381cf3b596ececf1c5420c35f0b21
Contents?: true
Size: 314 Bytes
Versions: 10
Compression:
Stored size: 314 Bytes
Contents
module Pundit module Generators class InstallGenerator < ::Rails::Generators::Base source_root File.expand_path(File.join(File.dirname(__FILE__), 'templates')) def copy_application_policy template 'application_policy.rb', 'app/policies/application_policy.rb' end end end end
Version data entries
10 entries across 10 versions & 2 rubygems