How do I access the helpers in ActionMailer that I created?
I tried: How to use my helpers in an ActionMailer view? for my own created assistant, but didn't work. Any tips?
This worked for me in the past in Rails 3:
class OrderMailer < ActionMailer::Base helper :application, :orders, :products ... end
My user assistants are obviously orders and products.
Source: https://habr.com/ru/post/887774/More articles:Reusing a Certificate Signing Request for Apple Push - iosMerging two very divergent branches with git? - gitLimiting memory usage in .net application - .net`svn merge` produces different results than` svn diff` - mergeHow to change Sandcastle presentation style without changing default installation files - buildWhat remote branches are my local git-svn related branches? - gitA way to check if a variable is a valid GD image resource? - phpEntity Framework stores data in one-to-one associations - entity-frameworkJavascript RegEx replacing "- javascriptRenaming to Git and Mercurial: Accuracy and Automation - gitAll Articles