iron_worker_rails_example
iron_worker_rails_example copied to clipboard
UrlHelpers
Hei guys,
I'm trying to send an email that calls projects_url
method inside view mailer, which resolves http://www.mydomain.com/projects
, but i'm getting error below, anyone can help me?
undefined method 'projects_url' for #<#<Class:0x007fc0c4ea4188>:0x007fc0c492ba08> (ActionView::Template::Error)
Better to pass into worker urls from rails app(as payload) rather than try to use rails helpers inside worker (too much to merge and initialize)