method
helper_method
v2.0.3 -
Show latest stable
- Class:
ActionMailer::Helpers::ClassMethods
helper_method(*methods)public
Declare a controller method as a helper. For example,
helper_method :link_to def link_to(name, options) ... end
makes the link_to controller method available in the view.