Sha256: 1550a58398410753eef73175f3078d19d2028dce40f87cccd530c98e375bb618
Contents?: true
Size: 547 Bytes
Versions: 4
Compression:
Stored size: 547 Bytes
Contents
module Formstrap class Engine < Rails::Engine engine_name "formstrap" # require "closure_tree" # require "redcarpet" # require "rouge" # Add translations to main app config.before_configuration do config.i18n.load_path += Dir["#{config.root}/config/locales/**/*.yml"] end # Add assets to precompilation list initializer "formstrap.assets" do |app| next unless app.config.respond_to?(:assets) app.config.assets.precompile += %w[formstrap.js formstrap.css formstrap.scss] end end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
formstrap-0.4.5 | lib/formstrap/engine.rb |
formstrap-0.4.4 | lib/formstrap/engine.rb |
formstrap-0.4.3 | lib/formstrap/engine.rb |
formstrap-0.4.2 | lib/formstrap/engine.rb |