Sha256: 7c1e4012a9c25827c4e4c7deabcdc247753a7cdef515fd1c4fc948367469443e
Contents?: true
Size: 563 Bytes
Versions: 9
Compression:
Stored size: 563 Bytes
Contents
module Motr module Generators class InstallGenerator < Rails::Generators::Base source_root File.expand_path("../../templates", __FILE__) desc "Creates an initializer for Motr and copy locale files to your application." def copy_initializer template "motr.rb", "config/initializers/motr.rb" end def copy_locale copy_file "../../../config/locales/en.yml", "config/locales/motr.en.yml" end def show_post_install_notes readme "post_install" if behavior == :invoke end end end end
Version data entries
9 entries across 9 versions & 1 rubygems