Skip to content

Commit

Permalink
Handle old URLs
Browse files Browse the repository at this point in the history
  • Loading branch information
Shpigford committed Jun 12, 2024
1 parent 0f46001 commit 0855af9
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion config/routes.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,13 @@

# Old redirects
get "/tools/freedom-calculator", to: redirect("/tools/financial-freedom-calculator", status: 301)

get "/tools/crypto-index-fund", to: redirect("/tools", status: 302)
get "/tools/low-hanging-fruit-checklist", to: redirect("/tools", status: 302)
get "/ask", to: redirect("/", status: 301)
get "/now-subscribe", to: redirect("/", status: 301)
get "/community", to: redirect("https://link.maybe.co/discord", status: 301)
get "/early-access", to: redirect("/", status: 301)


# Define your application routes per the DSL in https://guides.rubyonrails.org/routing.html
resources :signups, only: [ :new, :create ]
Expand Down

0 comments on commit 0855af9

Please sign in to comment.