config/routes.rb in spree_taxon_group-3.0.0.beta vs config/routes.rb in spree_taxon_group-3.1.0.beta
- old
+ new
@@ -1,5 +1,10 @@
Spree::Core::Engine.add_routes do
namespace :admin do
- resources :taxon_groups
+ resources :taxon_groups do
+ member do
+ get :positions, to: 'taxon_groups#positions'
+ patch :positions, to: 'taxon_groups#update_positions'
+ end
+ end
end
end