Sha256: 1cd5ada6dddba853abd0dc186a3e34eaf4a91daf9a25e3f286fbcde372465861

Contents?: true

Size: 322 Bytes

Versions: 2

Compression:

Stored size: 322 Bytes

Contents

module Refinery
  class I18nGenerator < Rails::Generators::Base
    source_root File.expand_path('../templates', __FILE__)

    def generate_refinery_i18n_initializer
      template "config/initializers/refinery/i18n.rb.erb", File.join(destination_root, "config", "initializers", "refinery", "i18n.rb")
    end

  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
refinerycms-i18n-2.0.2 lib/generators/refinery/i18n_generator.rb
refinerycms-i18n-2.0.0 lib/generators/refinery/i18n_generator.rb