-
Notifications
You must be signed in to change notification settings - Fork 0
Home
lsat12357 edited this page Aug 20, 2020
·
1 revision
This plugin is based on the request feature in archivesspace/public; the purpose is to repurpose the original request mechanism to allow users to get reference help.
models: Question inherits from RequestItem
controllers: QuestionsController does not inherit from the RequestsController mainly because of the mailer
mailers: Overriding the mailer is tricky, the system wants to look for the mailer in archivesspace/public/mailers. Instead, the QuestionsMailer is defined in the plugin_init.rb.
views: shared/_request_form.html.erb is overridden to include the labels and fields required for using the request to ask a reference question.