Sha256: a0ecf7abaf77b19eb8b9aeb4e91f94c927897d358ec1ff0af5ebc0730852e6ce
Contents?: true
Size: 989 Bytes
Versions: 2
Compression:
Stored size: 989 Bytes
Contents
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 end end namespace :admin do resources :questions do resources :taxons do member do get :select, :action => :select_for_question delete :remove, :action => :remove_for_question end collection do post :available, :action => :available_for_question get :selected, :action => :selected_for_question end end resources :products do member do get :select, :action => :select_for_question delete :remove, :action => :remove_for_question end collection do post :available, :action => :available_for_question get :selected, :action => :selected_for_question end end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
spree_grid_faq-0.0.9 | config/routes.rb |
spree_grid_faq-0.0.8 | config/routes.rb |