Commit 9e388b22 authored by Fabien Potencier's avatar Fabien Potencier

fixed CS

parent 33e6b153
...@@ -55,10 +55,11 @@ Registering ...@@ -55,10 +55,11 @@ Registering
Usage Usage
----- -----
The AssetServiceProvider is mostly useful with the Twig provider using the asset(method). The AssetServiceProvider is mostly useful with the Twig provider using the
This has two string arguments. In the case of named packages, the first is the path relative to ``asset()`` method. It takes two arguments. In the case of named
the base_path specified in the package definition and the second is the package name. For unmamed packages, the first is the path relative to the base_path specified in the
packages, there is only one argument, the path relative to the assets folder: package definition and the second is the package name. For unmamed packages,
there is only one argument, the path relative to the assets folder:
.. code-block:: jinja .. code-block:: jinja
...@@ -67,8 +68,6 @@ packages, there is only one argument, the path relative to the assets folder: ...@@ -67,8 +68,6 @@ packages, there is only one argument, the path relative to the assets folder:
{{ asset('/img/foo.png', 'images') }} {{ asset('/img/foo.png', 'images') }}
{{ asset_version('/css/foo.png') }} {{ asset_version('/css/foo.png') }}
For more information, check out the `Asset Component documentation For more information, check out the `Asset Component documentation
<https://symfony.com/doc/current/components/asset/introduction.html>`_. <https://symfony.com/doc/current/components/asset/introduction.html>`_.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment