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