Sha256: 3462490c9fbf71950d2d4033aa2dd634c11b3e61f72d65726b065c0cd7dcdd25
Contents?: true
Size: 436 Bytes
Versions: 9
Compression:
Stored size: 436 Bytes
Contents
# encoding: utf-8 require 'rails/generators' module Loaf module Generators class InstallGenerator < Rails::Generators::Base source_root File.expand_path("../../../..", __FILE__) desc 'Copy locale file to your application' def copy_locale copy_file "#{self.class.source_root}/config/locales/loaf.en.yml", "config/locales/loaf.en.yml" end end # InstallGenerator end # Generators end # Loaf
Version data entries
9 entries across 9 versions & 1 rubygems