Permalink
Browse files

Revert "Append *path route to Rails.application and not Refinery::Cor…

…e::Engine so that it's a true fallback when Refinery is mounted before other routes."

This reverts commit 017a52f.
  • Loading branch information...
1 parent b1ef5d5 commit a9146732c24e6fd0d590f485380684160a22f58b @parndt parndt committed Feb 13, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 pages/lib/refinery/pages/engine.rb
View
4 pages/lib/refinery/pages/engine.rb
@@ -50,8 +50,8 @@ class Engine < ::Rails::Engine
protected
def append_marketable_routes
- Rails.application.routes.append do
- get '*path', :to => 'refinery/pages#show'
+ Refinery::Core::Engine.routes.append do
+ get '*path', :to => 'pages#show'
end
end

0 comments on commit a914673

Please sign in to comment.