Skip to content

Commit

Permalink
minor #4891 fixed typo (acme -> app) (adiebler)
Browse files Browse the repository at this point in the history
This PR was submitted for the 2.6 branch but it was merged into the 2.3 branch instead (closes #4891).

Discussion
----------

fixed typo (acme -> app)

Commits
-------

f84cdb6 fixed typo (acme -> app)
  • Loading branch information
weaverryan committed Jan 30, 2015
2 parents 00981de + f84cdb6 commit 2b7e5ee
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions cookbook/templating/twig_extension.rst
Original file line number Diff line number Diff line change
Expand Up @@ -73,15 +73,15 @@ Now you must let the Service Container know about your newly created Twig Extens
# app/config/services.yml
services:
app.twig_extension:
class: AppBundle\Twig\AcmeExtension
class: AppBundle\Twig\AppExtension
tags:
- { name: twig.extension }
.. code-block:: xml
<!-- app/config/services.xml -->
<services>
<service id="app.twig_extension" class="AppBundle\Twig\AcmeExtension">
<service id="app.twig_extension" class="AppBundle\Twig\AppExtension">
<tag name="twig.extension" />
</service>
</services>
Expand All @@ -92,7 +92,7 @@ Now you must let the Service Container know about your newly created Twig Extens
use Symfony\Component\DependencyInjection\Definition;
$container
->register('app.twig_extension', '\AppBundle\Twig\AcmeExtension')
->register('app.twig_extension', '\AppBundle\Twig\AppExtension')
->addTag('twig.extension');
.. note::
Expand Down

0 comments on commit 2b7e5ee

Please sign in to comment.