Sha256: 38b47fdde155579ad35ec56e1cdf3265229acfd5fd97f30629c783eb213fdf8f

Contents?: true

Size: 363 Bytes

Versions: 7

Compression:

Stored size: 363 Bytes

Contents

class Railtie < ::Rails::Railtie
  initializer "active_admin_csv_import.setup_vendor", :after => "active_admin_csv_import.setup", :group => :all do |app|
    vendor_path = File.expand_path("../../vendor/assets", __FILE__)
    app.config.assets.paths.push(vendor_path.to_s)

    app.config.assets.precompile += %w( active_admin_csv_import/import_csv.js )
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
active_admin_csv_import-1.3.1 lib/active_admin_csv_import/railtie.rb
active_admin_csv_import-1.3.0 lib/active_admin_csv_import/railtie.rb
active_admin_csv_import-1.2.1 lib/active_admin_csv_import/railtie.rb
active_admin_csv_import-1.2.0 lib/active_admin_csv_import/railtie.rb
active_admin_csv_import-1.1.2 lib/active_admin_csv_import/railtie.rb
active_admin_csv_import-1.1.1 lib/active_admin_csv_import/railtie.rb
active_admin_csv_import-1.1.0 lib/active_admin_csv_import/railtie.rb