diff --git a/config/routes.rb b/config/routes.rb index b151e4bae8..d166116086 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -3,11 +3,7 @@ Openfoodnetwork::Application.routes.draw do get "/#/login", to: "home#index", as: :spree_login - if Rails.env.production? - get "/map", to: "home#index", as: :map - else - get "/map", to: "map#index", as: :map - end + get "/map", to: "map#index", as: :map resource :shop, controller: "shop" do get :products