Sha256: a96ddabb315409337d40f96cba51ac53246d0a66a7f1110f2317d26633ae2e10
Contents?: true
Size: 445 Bytes
Versions: 6
Compression:
Stored size: 445 Bytes
Contents
require 'rails/generators' module I18nAdminUtils class InstallGenerator < Rails::Generators::Base source_root File.expand_path('../templates', __FILE__) desc 'Creates a InstallGenerator initializer and copy locale files to your application.' def install route("mount I18nAdminUtils::Engine => '/', as: 'i18n_admin_utils'") template 'initializer.rb', 'config/initializers/i18n_admin_utils.rb' end end end
Version data entries
6 entries across 6 versions & 1 rubygems