Skip to content

Symfony 4 Flex quick tour (but NOT architecture) #8781

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Nov 30, 2017
Merged

Symfony 4 Flex quick tour (but NOT architecture) #8781

merged 2 commits into from
Nov 30, 2017

Conversation

weaverryan
Copy link
Member

See #8754

This was a VERY quick update to the quick_tour section. But, I did not have time to look at the_architecture at all. Let's do that in a different PR (or someone else can do it).

@weaverryan weaverryan merged commit 5dfb6e4 into symfony:4.0 Nov 30, 2017
weaverryan added a commit that referenced this pull request Nov 30, 2017
…yan)

This PR was squashed before being merged into the 4.0 branch (closes #8781).

Discussion
----------

Symfony 4 Flex quick tour (but NOT architecture)

See #8754

This was a VERY quick update to the quick_tour section. But, I did not have time to look at `the_architecture` at all. Let's do that in a different PR (or someone else can do it).

Commits
-------

5dfb6e4 bad syntax
513f481 updating most of the quick tour
the most popular articles of your website. If you want to "render" the result
of that method (usually some HTML content) inside the ``index`` template,
use the ``render()`` function:

.. code-block:: twig

{# templates/index.html.twig #}
{{ render(controller('AppBundle:Default:topArticles')) }}
{{ render(controller('App\\DefaultController::topArticles')) }}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

App\\Controller\\DefaultController

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants