Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

open the ContactFormController to model subclasses #4374

Merged
merged 1 commit into from
Jun 17, 2020

Conversation

no-reply
Copy link
Contributor

since the ContactForm model doesn't use ActiveRecord, it can be easily
subclassed and customized. allowing the controller to use a configured/injected
model helps avoid the need for hard monkeypatches in downstream apps; see,
e.g. samvera/hyku#1622

@samvera/hyrax-code-reviewers

orangewolf
orangewolf previously approved these changes Jun 17, 2020
since the `ContactForm` model doesn't use `ActiveRecord`, it can be easily
subclassed and customized. allowing the controller to use a configured/injected
model helps avoid the need for hard monkeypatches in downstream apps; see,
e.g. samvera/hyku#1622
@no-reply no-reply merged commit 6bf5ae8 into master Jun 17, 2020
@no-reply no-reply deleted the open-contact-form-cont branch June 17, 2020 21:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants