Sha256: 600dd8c447377281ac7c69b3ccb7fc5ff69ed0274e719dc770ebcf486626f093

Contents?: true

Size: 445 Bytes

Versions: 1

Compression:

Stored size: 445 Bytes

Contents

module ConversationForms
  module Rails
    class Engine < ::Rails::Engine
      initializer 'conversation_forms.assets.precompile' do |app|
        %w(stylesheets fonts images).each do |sub|
          app.config.assets.paths << root.join('assets', sub).to_s
        end

        # sprockets-rails 3 tracks down the calls to `font_path` and `image_path`
        # and automatically precompiles the referenced assets.
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
conversation_forms-0.5.0 lib/conversation_forms/engine.rb