diff --git a/Gemfile.lock b/Gemfile.lock index 2a10493f3e..a645196fc5 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -728,8 +728,5 @@ DEPENDENCIES wicked_pdf wkhtmltopdf-binary -RUBY VERSION - ruby 2.1.5p273 - BUNDLED WITH 1.12.5 diff --git a/config/routes.rb b/config/routes.rb index e625cca37b..5f37bbe831 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -20,6 +20,10 @@ Openfoodnetwork::Application.routes.draw do get "/register", to: "registration#index", as: :registration get "/register/auth", to: "registration#authenticate", as: :registration_auth + # Redirects to global website + get "/connect", to: redirect("https://openfoodnetwork.org/#{ENV['DEFAULT_COUNTRY_CODE'].andand.downcase}/connect/") + get "/learn", to: redirect("https://openfoodnetwork.org/#{ENV['DEFAULT_COUNTRY_CODE'].andand.downcase}/learn/") + resource :shop, controller: "shop" do get :products post :order_cycle