Closed filipsuk closed 7 years ago
How should they look like?
What is the responsible class?
Let me guess: it worked with kdyby/console, right? ;)
Nette doesn't have HttpRequest populated in CLI, so the links cannot be properly generated. LinkGenerator
depends on HttpRequest.
You need this contributte/http (or.. you know... Kdyby/Console)
I see :-) my bad.
Let me fix that and add test next week. I'm tripping over Vienna and BA now
Oh. :) We could add it to contributte/console, but as @fprochazka mentioned, it´s in contributte/http.
@TomasVotruba @filipsuk I've completly forgot that providing URL is already in contributte/console
.
https://github.com/contributte/console/blob/master/.docs/README.md#configuration
@f3l1x Great to know. Could you send PR for that please?
Event links in last newsletter look like this:
It is not a SendGrid problem.
Dynamic newsletter preview e.g.
https://eventigo.cz/newsletter/dynamic/5
works OK. Looks like console command problem (newsletters:render
).Edit: Link should look like this: