Sha256: c1b56908f40dbb88fb52da8f5f0de0f392eda22e3ab56e13644008a315c3c5bf

Contents?: true

Size: 410 Bytes

Versions: 7

Compression:

Stored size: 410 Bytes

Contents

module RailsAdminComments
  class Engine < ::Rails::Engine

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

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

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
rails_admin_comments-0.2.3.3 lib/rails_admin_comments/engine.rb
rails_admin_comments-0.3.0.4 lib/rails_admin_comments/engine.rb
rails_admin_comments-0.2.3.2 lib/rails_admin_comments/engine.rb
rails_admin_comments-0.3.0.3 lib/rails_admin_comments/engine.rb
rails_admin_comments-0.3.0.1 lib/rails_admin_comments/engine.rb
rails_admin_comments-0.3.0 lib/rails_admin_comments/engine.rb
rails_admin_comments-0.2.1 lib/rails_admin_comments/engine.rb