Sha256: fc7802262d906916b38d4ad5596c88eed39e3f6724bfe366154562b85921e95b

Contents?: true

Size: 457 Bytes

Versions: 1

Compression:

Stored size: 457 Bytes

Contents

SandboxAssets::Engine.routes.draw do
  # When the application is booted by sidekiq (tested with 4.0.1) Rails.application.assets may not
  # be loaded
  mount Rails.application.assets => Rails.configuration.assets.prefix if Rails.application.assets
  get '_iframe/*path' => 'sandbox_assets/test_runner#iframe', format: false,
    as: :sandbox_assets_iframe
  ['', '*path'].each do |p|
    get p => 'sandbox_assets/test_runner#index', format: false
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rails-sandbox-assets-0.2.1 config/routes.rb