Sha256: 9d54e8b0f60a2c42dfa95137b2c3154f580e7f327dea97dbba73a6610af4366b

Contents?: true

Size: 508 Bytes

Versions: 4

Compression:

Stored size: 508 Bytes

Contents

require 'bootstrap-editable-rails/version'
require 'bootstrap-editable-rails/view_helper'

module Bootstrap
  module Editable
    module Rails
      class Engine < ::Rails::Engine
        initializer 'bootstrap-editable-rails' do |app|
          ::ActiveSupport.on_load(:action_view) do
            ::ActionView::Base.send :include, Bootstrap::Editable::Rails::ViewHelper
          end
          app.config.assets.precompile << %r(bootstrap-editable/.*\.(?:png|gif)$)
        end
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
bootstrap-editable-rails-0.0.9 lib/bootstrap-editable-rails.rb
bootstrap-editable-rails-0.0.8 lib/bootstrap-editable-rails.rb
bootstrap-editable-rails-0.0.7 lib/bootstrap-editable-rails.rb
bootstrap-editable-rails-0.0.6 lib/bootstrap-editable-rails.rb