dan.laffan PRO said 10 months ago on Stripe Donations :
This might be a simpler implementation of the routes:

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