Skip to content

Commit

Permalink
Update "symfony-2-render-helper-for-calling-an-action-from-a-view"
Browse files Browse the repository at this point in the history
  • Loading branch information
Dinduks committed Jul 6, 2014
1 parent a696dfa commit 52473f3
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -28,7 +28,7 @@ That function fetches, processes the result and returns the counter of the onlin
#### Create a Twig template that displays the response returned by the action
The syntax is the following:

{% render "LiveGeekBundle:Default:onlineUsers" %}
{% render controller('LiveGeekBundle:Default:onlineUsers') %}

Knowing that `onlineUsersAction()` is an action of `DefaultController` which is a controller from the *Live\GeekBundle* bundle.

Expand Down

0 comments on commit 52473f3

Please sign in to comment.