Sha256: 31fd0d1f0ed3bc690df80640bff92cb8fd984226adee7217e4ac5c70f2783c00
Contents?: true
Size: 552 Bytes
Versions: 57
Compression:
Stored size: 552 Bytes
Contents
module Cmor module Rbac module Backend module Generators class InstallGenerator < Rails::Generators::Base desc 'Generates the intializer' source_root File.expand_path('../templates', __FILE__) def generate_initializer copy_file 'initializer.rb', 'config/initializers/cmor_rbac_backend.rb' end def generate_routes route File.read(File.join(File.expand_path('../templates', __FILE__), 'routes.source')) end end end end end end
Version data entries
57 entries across 57 versions & 1 rubygems