Permalink
Browse files

minor #4891 fixed typo (acme -> app) (adiebler)

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 2b7e5ee896c148b263a890541b8b2489e1aa0ee5
Showing with 3 additions and 3 deletions.
  1. +3 −3 cookbook/templating/twig_extension.rst
@@ -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>
@@ -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::

0 comments on commit 2b7e5ee

Please sign in to comment.