diff --git a/config/routes.rb b/config/routes.rb index 98897ffdf4..fcb633f9e3 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -89,7 +89,9 @@ Openfoodnetwork::Application.routes.draw do get 'sitemap.xml', to: 'sitemap#index', defaults: { format: 'xml' } + # Mount DFC API endpoints + mount DfcProvider::Engine, at: '/' + # Mount Spree's routes mount Spree::Core::Engine, :at => '/' - mount DfcProvider::Engine, at: '/' end