config/routes.rb in rails-sandbox-assets-0.0.5 vs config/routes.rb in rails-sandbox-assets-0.1.0
- old
+ new
@@ -1,6 +1,8 @@
SandboxAssets::Engine.routes.draw do
mount Rails.application.assets => Rails.configuration.assets.prefix
- ['/', '*path'].each do |p|
+ 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