Module: NotifyOn::MailerHelper
- Defined in:
- app/helpers/notify_on/mailer_helper.rb
Instance Method Summary collapse
Dynamic Method Handling
This class handles dynamic methods through the method_missing method
#method_missing(method, *args, &block) ⇒ Object
3 4 5 6 7 |
# File 'app/helpers/notify_on/mailer_helper.rb', line 3 def method_missing(method, *args, &block) m = method.to_s super unless m.ends_with?('_path') || m.ends_with?('_url') main_app.send(m, *args) end |