config/routes.rb in spree_grid_faq-0.0.7 vs config/routes.rb in spree_grid_faq-0.0.8
- old
+ new
@@ -1,9 +1,9 @@
Spree::Core::Engine.routes.draw do
resources :questions, :only => [:show], :path => 'faq' do
collection do
- get '(/page-:page.html)', :action => :index, :as => ''
- match '/browse/(*id)(/page-:page.html)', :action => :browse
+ get '(/page-:page)', :action => :index, :as => ''
+ match '/browse/(*id)(/page-:page)', :action => :browse
end
end
namespace :admin do
resources :questions do