Sha256: b52ffec9e2a24a09433e452e9af06fe3bebf2115e143c2a28c5694c3a090d922
Contents?: true
Size: 617 Bytes
Versions: 7
Compression:
Stored size: 617 Bytes
Contents
require 'rails/generators' module UserMgmt module Generators class InstallGenerator < Rails::Generators::Base source_root File.expand_path("../../templates", __FILE__) desc "Creates a UserMgmt initializer and copy locale files to your application." def copy_initializer template "user_mgmt.rb", "config/initializers/user_mgmt.rb" end # def copy_locale # copy_file "../../../config/locales/en.yml", "config/locales/user_mgmt.en.yml" # end def show_readme readme "README" if behavior == :invoke end end end end
Version data entries
7 entries across 7 versions & 1 rubygems