dan.laffan PRO said over 2 years ago on Stripe Donations :
This might be a simpler implementation of the routes:

resource :donates, only: :show do
  collection { get :thankyou }
end