Sha256: 788d2fc532c8674e38f02c393c77576f77f94bd4196253b29d7af823f85a9e33
Contents?: true
Size: 462 Bytes
Versions: 4
Compression:
Stored size: 462 Bytes
Contents
module Cullender module Generators class InstallGenerator < Rails::Generators::Base source_root File.expand_path('../templates', __FILE__) desc "Creates a Cullender initializer and copy locale files to your application." def create_initializer_file template "cullender.rb", "config/initializers/cullender.rb" end def copy_locale copy_file "../../../../config/locales/en.yml", "config/locales/cullender.en.yml" end end end end
Version data entries
4 entries across 4 versions & 1 rubygems