Sha256: 8342bd62264f7079e7a61be2da747b2abc95d8f747b2007af43d1f39f839e516
Contents?: true
Size: 528 Bytes
Versions: 6
Compression:
Stored size: 528 Bytes
Contents
module MightyGrid module Generators class InstallGenerator < Rails::Generators::Base source_root File.expand_path(File.join(File.dirname(__FILE__), 'templates')) desc "Copies MightyGrid configuration and locale files to your application." def copy_config_file template 'mighty_grid_config.rb', 'config/initializers/mighty_grid_config.rb' end def copy_locale_file copy_file '../../../../config/locales/en.yml', 'config/locales/mighty_grid.en.yml' end end end end
Version data entries
6 entries across 6 versions & 1 rubygems