You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
it's not really a problem as everything works wonder, but I wonder why there is an echo in both the controllers->afterroute (which invokes view->render) and the views->render themselves (which return nothing, so the echo in the controller doesn't look useful).
The code does this:
in Controller->afterroute:
echo $this->response->render();
in View->render()
echo \Template::instance()->render($this->template);
(returns nothing)
Is this a safeguard for custom Views?
Best whishes.
The text was updated successfully, but these errors were encountered:
Hello,
it's not really a problem as everything works wonder, but I wonder why there is an echo in both the controllers->afterroute (which invokes view->render) and the views->render themselves (which return nothing, so the echo in the controller doesn't look useful).
The code does this:
in Controller->afterroute:
echo $this->response->render();
in View->render()
echo \Template::instance()->render($this->template);
(returns nothing)
Is this a safeguard for custom Views?
Best whishes.
The text was updated successfully, but these errors were encountered: