browsermedia/browsercms — pull request #547 by darrennix (2012-09-10 20:09:45+00:00)
Title: Allow disabling of catch-all page matching in routes

Adds an initializer config setting
Cms.require_explicit_page_routes = false
That when set to true will disable the broad path match in route_extensions.rb
match "*path", :to=>"cms/content#show"
This has the effect of allowing mount_browsercms to be mounted in locations other than the bottom of routes.rb in the existing app. This can be desirable in several situations .e.g, when it's desirable to use the existing app's error handling rather than BCMS.