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