Skip to content

Commit

Permalink
Update /hosting to redirect to Typeform
Browse files Browse the repository at this point in the history
  • Loading branch information
Nick Barnwell committed May 6, 2018
1 parent e75ff26 commit 7df3a5d
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions config/routes.rb
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
HOSTING_TYPEFORM='https://medium.com/@AnkitShah_21916/tea-with-strangers-be-the-host-c526bfb06fe8'

Rails.application.routes.draw do
root 'static#index'
get '/about' => 'static#about', as: :about
get '/hosting' => 'static#hosting', as: :hosting
get '/signup' => 'static#jfdi_signup', as: :sign_up
get '/about' => 'static#about', as: :about
get '/hosting' => redirect(HOSTING_TYPEFORM), as: :hosting
get '/signup' => 'static#jfdi_signup', as: :sign_up

# Devise and Registration Routes
devise_for :users, :controllers => {:registrations => "registrations"}, :skip => [:sessions]
Expand Down

0 comments on commit 7df3a5d

Please sign in to comment.