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
