Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

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...
commit a9146732c24e6fd0d590f485380684160a22f58b 1 parent b1ef5d5
Philip Arndt parndt authored

Showing 1 changed file with 2 additions and 2 deletions. Show diff stats Hide diff stats

  1. +2 2 pages/lib/refinery/pages/engine.rb
4 pages/lib/refinery/pages/engine.rb
@@ -50,8 +50,8 @@ class Engine < ::Rails::Engine
50 50 protected
51 51
52 52 def append_marketable_routes
53   - Rails.application.routes.append do
54   - get '*path', :to => 'refinery/pages#show'
  53 + Refinery::Core::Engine.routes.append do
  54 + get '*path', :to => 'pages#show'
55 55 end
56 56 end
57 57

0 comments on commit a914673

Please sign in to comment.
Something went wrong with that request. Please try again.