Sha256: a38ea7ea26c78c46adf63655a94edc0d32b90405c68651bd38b3ee3505cdfdfb

Contents?: true

Size: 250 Bytes

Versions: 10

Compression:

Stored size: 250 Bytes

Contents

module BootstrapFlashMessages
  class LocaleGenerator < Rails::Generators::Base
    source_root File.expand_path('../templates', __FILE__)
    
    def copy_gflash_locale
      copy_file "flash.en.yml", "config/locales/flash.en.yml"
    end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
bootstrap_flash_messages-1.0.2 lib/generators/bootstrap_flash_messages/locale_generator.rb
bootstrap_flash_messages-1.0.1 lib/generators/bootstrap_flash_messages/locale_generator.rb
bootstrap_flash_messages-1.0.0 lib/generators/bootstrap_flash_messages/locale_generator.rb
bootstrap_flash_messages-0.0.7 lib/generators/bootstrap_flash_messages/locale_generator.rb
bootstrap_flash_messages-0.0.6 lib/generators/bootstrap_flash_messages/locale_generator.rb
bootstrap_flash_messages-0.0.5 lib/generators/bootstrap_flash_messages/locale_generator.rb
bootstrap_flash_messages-0.0.4 lib/generators/bootstrap_flash_messages/locale_generator.rb
bootstrap_flash_messages-0.0.3 lib/generators/bootstrap_flash_messages/locale_generator.rb
bootstrap_flash_messages-0.0.2 lib/generators/bootstrap_flash_messages/locale_generator.rb
bootstrap_flash_messages-0.0.1 lib/generators/bootstrap_flash_messages/locale_generator.rb