From 013198b33bfcec6f283da98327ef08e1aff4ae07 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Turbelin?= Date: Tue, 28 Apr 2020 17:28:22 +0200 Subject: [PATCH] Update routes --- config/routes.rb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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