I would like to know if you have already done or have an example that can link to the following problem:
I have a project that has the crud of books and a User controller with their respective views.
I made the normal email module as the generate mailer
that is called loan.
I would like to know how to put a button with a link in the view book that when clicking, send an email requesting the loan of the book.
Thank you in advance for your attention.