Sha256: 8104a93919a61b6e199ad256c3f2a8809bc35621c1f991b5617f6902da8d6bb7

Contents?: true

Size: 362 Bytes

Versions: 11

Compression:

Stored size: 362 Bytes

Contents

module Plasticine
  class Railtie < Rails::Railtie
    initializer "plasticine" do |app|
      ActiveSupport.on_load :action_view do
        require 'plasticine/helpers'
      end
    end
  end
end

dir = File.expand_path(File.dirname(__FILE__))
languages = [:fr, :en]

I18n.load_path += languages.map { |l| File.join(dir, '../../config/locales', "#{l}.yml") }

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
plasticine-1.2.8 lib/plasticine/railtie.rb
plasticine-1.2.7 lib/plasticine/railtie.rb
plasticine-1.2.6 lib/plasticine/railtie.rb
plasticine-1.2.5 lib/plasticine/railtie.rb
plasticine-1.2.4 lib/plasticine/railtie.rb
plasticine-1.2.3 lib/plasticine/railtie.rb
plasticine-1.2.2 lib/plasticine/railtie.rb
plasticine-1.2.1 lib/plasticine/railtie.rb
plasticine-1.2.0 lib/plasticine/railtie.rb
plasticine-1.1.1 lib/plasticine/railtie.rb
plasticine-1.1.0 lib/plasticine/railtie.rb