From a6179da298483f07d0938e86887678d38f5d52f4 Mon Sep 17 00:00:00 2001 From: Nicolas VARROT Date: Tue, 15 Nov 2016 20:53:50 +0100 Subject: [PATCH] Fowarding some actions to old webapp --- config/routes.rb | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/config/routes.rb b/config/routes.rb index 736252f..b215e2f 100755 --- a/config/routes.rb +++ b/config/routes.rb @@ -1,5 +1,16 @@ Rails.application.routes.draw do + # Balloons on the WEB resources :balloons + + ########### Forwarding action to old webapp #################### + + # Forward Terms And Conditions page + get "legal" => redirect("http://webapp.heylium.io/fr/legal") + # Forward Reset password page + get 'reset_password' => redirect { |params, request| "http://webapp.heylium.io/fr/reset_password?#{request.params.to_query}" } + # Forward Confirm email actioàn + get 'confirm_email' => redirect { |params, request| "http://webapp.heylium.io/fr/confirm_email?#{request.params.to_query}" } + end