Repository navigation
Donate Cta Feedback
Part of Communication-and-Engagement.
Model: app/models/donate_cta_feedback.rb · Controller: app/controllers/donate_cta_feedback_controller.rb
Feedback captured from a donate call-to-action prompt. Public, write-once: create emails an acknowledgement to the submitter and a separate notification to admins, then redirects to search. No archive, no keep, no reply thread, no GitHub sync — it's the simplest resource in this domain.
body, name, email_address, identifier (same seconds-since-2015 scheme as Contact/Feedback).
The controller's strong params are still keyed params.require(:feedback) even though the resource is DonateCtaFeedback — the form field namespace is feedback[...], not donate_cta_feedback[...]. index is an unfiltered, unpaginated DonateCtaFeedback.all.
resources :donate_cta_feedback — plain CRUD, no custom routes.
© 2025 FreeUKGen. Licensed under Apache License 2.0