Skip to content

Is it correct way to access instance of application? #1743

Answered by kraih
saintserge asked this question in Q&A
Discussion options

You must be logged in to vote

I don't understand the purpose of that helper. It seems to be doing nothing. But you can access the application in Minion tasks via $job->app, so my $output = $job->app->build_controller->render_to_string('word/some_prepared_xml', ...) should just work without you having to do anything at all.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@saintserge
Comment options

Answer selected by saintserge
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants