config/routes.rb in konacha-1.5.1 vs config/routes.rb in konacha-2.0.0.beta1
- old
+ new
@@ -1,4 +1,6 @@
Konacha::Engine.routes.draw do
- match "/" => "specs#specs"
- match "*path" => "specs#specs"
+ match '/iframe' => 'specs#iframe', :as => 'iframe'
+ match '/iframe/*path' => 'specs#iframe'
+ match '/' => 'specs#parent', :as => 'parent'
+ match '*path' => 'specs#parent'
end