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