Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UrlHelpers #8

Open
nsoufr opened this issue Oct 8, 2014 · 1 comment
Open

UrlHelpers #8

nsoufr opened this issue Oct 8, 2014 · 1 comment

Comments

@nsoufr
Copy link

nsoufr commented Oct 8, 2014

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)

@rkononov
Copy link
Contributor

rkononov commented Oct 8, 2014

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)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants