config/routes.rb in spree_essential_cms-0.1.0 vs config/routes.rb in spree_essential_cms-0.1.2

- old
+ new

@@ -1,8 +1,8 @@ class PossiblePage def self.matches?(request) path = request.fullpath - return false if path =~ /(^\/(admin|account|cart|checkout|content|login|pg\/|orders|products|s\/|session|signup|shipments|states|t\/|tax_categories|user))/ + return if path =~ /(^\/(admin|account|cart|checkout|content|login|pg\/|orders|products|s\/|session|signup|shipments|states|t\/|tax_categories|user)+)/ count = Page.active.where(:path => path).count 0 < count end end