Fowarding some actions to old webapp
This commit is contained in:
parent
cac3a264b3
commit
a6179da298
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user