Permalink
Browse files

Use `:format => false` for the other catchall route

This fixes a Rails 4 compatibility issue. I filed an
upstream bug for investigation:

rails/rails#9654
  • Loading branch information...
1 parent a9f69be commit 15b31e7962ff1067a26f6f6941baa8092c166ecd @jfirebaugh committed Mar 11, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 config/routes.rb
View
@@ -1,5 +1,5 @@
Konacha::Engine.routes.draw do
get '/iframe/*name' => 'specs#iframe', :format => false, :as => :iframe
root :to => 'specs#parent'
- get '*path' => 'specs#parent'
+ get '*path' => 'specs#parent', :format => false
end

0 comments on commit 15b31e7

Please sign in to comment.