What's the correct way to render a response from a Promise? #2058
-
In Mojolicious, what's the correct way to render a response from a Promise? In my code below, I get:
Sample app: 1.
|
Beta Was this translation helpful? Give feedback.
Answered by
guest20
Apr 13, 2023
Replies: 2 comments 4 replies
-
if you don't |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
kraih
-
Thank you. And I assume |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
if you don't
$c->render_later
, Mojo does an auto-render using the action name as the template name.