Sha256: d153f8f6aa9e6b77c94d245f11d9e2412cbc2686fda0c75aed7dfd2b020f83be

Contents?: true

Size: 430 Bytes

Versions: 9

Compression:

Stored size: 430 Bytes

Contents

module RailsAdminSortEmbedded
  class Engine < ::Rails::Engine

    initializer "RailsAdminSortEmbedded precompile hook", group: :all do |app|
      app.config.assets.precompile += %w(rails_admin/rails_admin_sort_embedded.js rails_admin/rails_admin_sort_embedded.css)
    end

    initializer 'Include RailsAdminSortEmbedded::Helper' do |app|
      ActionView::Base.send :include, RailsAdminSortEmbedded::Helper
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
rails_admin_sort_embedded-0.2.0.1 lib/rails_admin_sort_embedded/engine.rb
rails_admin_sort_embedded-0.2.0 lib/rails_admin_sort_embedded/engine.rb
rails_admin_sort_embedded-0.1.4 lib/rails_admin_sort_embedded/engine.rb
rails_admin_sort_embedded-0.1.3 lib/rails_admin_sort_embedded/engine.rb
rails_admin_sort_embedded-0.1.2 lib/rails_admin_sort_embedded/engine.rb
rails_admin_sort_embedded-0.1.1 lib/rails_admin_sort_embedded/engine.rb
rails_admin_sort_embedded-0.1.0 lib/rails_admin_sort_embedded/engine.rb
rails_admin_sort_embedded-0.0.3 lib/rails_admin_sort_embedded/engine.rb
rails_admin_sort_embedded-0.0.2 lib/rails_admin_sort_embedded/engine.rb