Fowarding some actions to old webapp

This commit is contained in:
Nicolas VARROT 2016-11-15 20:53:50 +01:00
parent cac3a264b3
commit a6179da298

View File

@ -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