This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

Final redirects for taking down the site

  • Loading branch information...
drewblas committed Nov 6, 2017
1 parent b446635 commit 7daed4ced4cccad4744fe3b80a492e92d9ae54d7
Showing with 51 additions and 0 deletions.
  1. +51 −0 config/routes.rb
View
@@ -116,4 +116,55 @@
get '/chargify-direct-signups', to: redirect('https://docs.chargify.com/api-signups')
get '/beta-label', to: redirect('https://help.chargify.com/support/support-faq.html#what-does-it-mean-for-a-chargify-feature-to-be-beta')
get '/taxes', to: redirect('https://help.chargify.com/taxes/introduction.html')
+
+ get '/api-introduction', to: redirect('https://reference.chargify.com/v1/basics/introduction')
+ get '/api-guidelines', to: redirect('https://developer.chargify.com/content/getting-started/api-guidelines.html')
+ get '/api-authentication', to: redirect('https://developer.chargify.com/content/getting-started/authentication.html')
+ get '/api-resources', to: redirect('https://reference.chargify.com')
+ get '/api-duplicate-prevention', to: redirect('https://developer.chargify.com/content/advanced/duplicate-prevention.html')
+ get '/api-code', to: redirect('https://developer.chargify.com/content/ecosystem/api-code-samples.html')
+ get '/api-adjustments', to: redirect('https://reference.chargify.com/v1/adjustments/adjustment-intro')
+ get '/api-allocations', to: redirect('https://reference.chargify.com/v1/components-quantity-allocations')
+ get '/api-billing-portal', to: redirect('https://reference.chargify.com/v1/billing-portal')
+ get '/api-charges', to: redirect('https://reference.chargify.com/v1/charges')
+ get '/api-components', to: redirect('https://reference.chargify.com/v1/components')
+ get '/api-coupons', to: redirect('https://reference.chargify.com/v1/coupons')
+ get '/api-coupon-codes', to: redirect('https://reference.chargify.com/v1/coupons-subcodes')
+ get '/api-credits', to: redirect('https://reference.chargify.com')
+ get '/api-customers', to: redirect('https://reference.chargify.com/v1/customers')
+ get '/api-events', to: redirect('https://reference.chargify.com/v1/events')
+ get '/api-invoices', to: redirect('https://reference.chargify.com/v1/invoices')
+ get '/api-invoices-payments', to: redirect('https://reference.chargify.com/v1/invoices-payments')
+ get '/api-invoices-charges', to: redirect('https://reference.chargify.com/v1/invoices-charges')
+ get '/api-invoices-credits', to: redirect('https://reference.chargify.com/v1/invoices-credits')
+ get '/api-metadata', to: redirect('https://reference.chargify.com/v1/custom-fields-metadata')
+ get '/api-metafields', to: redirect('https://reference.chargify.com/v1/custom-fields-metafields')
+ get '/api-metered-usage', to: redirect('https://reference.chargify.com/v1/components-metered-usage')
+ get '/api-migrations', to: redirect('https://reference.chargify.com/v1/migrations-prorated-upgrades-downgrades')
+ get '/api-notes', to: redirect('https://reference.chargify.com/v1/notes')
+ get '/api-payments', to: redirect('https://reference.chargify.com/v1/payments')
+ get '/api-payment-profiles', to: redirect('https://reference.chargify.com/v1/payment-profiles')
+ get '/api-product-families', to: redirect('https://reference.chargify.com/v1/product-families')
+ get '/api-products', to: redirect('https://reference.chargify.com/v1/products')
+ get '/api-quantity-allocations', to: redirect('https://reference.chargify.com/v1/components-quantity-allocations')
+ get '/api-referral-codes', to: redirect('https://reference.chargify.com/v1/referral-codes')
+ get '/api-refunds', to: redirect('https://reference.chargify.com/v1/refunds')
+ get '/api-refunds-external', to: redirect('https://reference.chargify.com/v1/refunds-external')
+ get '/api-renewal-preview', to: redirect('https://reference.chargify.com/v1/renewal-preview')
+ get '/api-sites', to: redirect('https://reference.chargify.com/v1/sites')
+ get '/api-statements', to: redirect('https://reference.chargify.com/v1/statements')
+ get '/api-stats', to: redirect('https://reference.chargify.com/v1/stats')
+ get '/api-subscription-preview', to: redirect('https://reference.chargify.com/v1/subscriptions-preview')
+ get '/api-subscriptions', to: redirect('https://reference.chargify.com/v1/subscriptions')
+ get '/api-subscription-override', to: redirect('https://reference.chargify.com/v1/subscriptions-override')
+ get '/api-transactions', to: redirect('https://reference.chargify.com/v1/transactions')
+ get '/api-webhooks', to: redirect('https://reference.chargify.com/v1/webhooks')
+ get '/api-call', to: redirect('https://developer.chargify.com/content/chargify-direct/api-call.html')
+ get '/api-card-update', to: redirect('https://developer.chargify.com/content/chargify-direct/card-update.html')
+ get '/api-signups', to: redirect('https://developer.chargify.com/content/chargify-direct/signups.html')
+ get '/chargify-direct-introduction', to: redirect('https://developer.chargify.com/content/chargify-direct/chargify-direct.html')
+ get '/documentation-repository', to: redirect('https://help.chargify.com')
+
+ get '/', to: redirect('https://help.chargify.com')
+ get '/:anything', to: redirect('https://help.chargify.com')
end

0 comments on commit 7daed4c

Please sign in to comment.