Skip to content

Commit 0981d39

Browse files
committed
Action return returned value instead response body
1 parent 538d1bf commit 0981d39

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Action.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ public function run()
160160
$app->response->html($returned, null, $app->response->getContentType());
161161
}
162162

163-
return $app->response->body;
163+
return $returned;
164164
}
165165

166166
/**

0 commit comments

Comments
 (0)