Skip to content

Update .yml => .yaml #48

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 1 commit into from
Dec 30, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion symfony/auto-add-missing.rst
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Configuration

.. code-block:: yaml

# config/config.yml
# config/config.yaml
translation:
# ..
auto_add_missing_translations:
Expand Down
2 changes: 1 addition & 1 deletion symfony/auto-translate.rst
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ Configuration

.. code-block:: yaml
# config/config.yml
# config/config.yaml
translation:
# ..
fallback_translation:
Expand Down
12 changes: 6 additions & 6 deletions symfony/edit-in-place.rst
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ Configuration

.. code-block:: yaml

# config/config.yml
# config/config.yaml
translation:
# ..
edit_in_place:
Expand All @@ -32,14 +32,14 @@ Configuration

.. code-block:: yaml

# config/routing.yml
# config/routing.yaml
_translation_edit_in_place:
resource: '@TranslationBundle/Resources/config/routing_edit_in_place.yml'
resource: '@TranslationBundle/Resources/config/routing_edit_in_place.yaml'
prefix: /admin

.. note::

When you include the ``routing_edit_in_place.yml`` to expose the controller
When you include the ``routing_edit_in_place.yaml`` to expose the controller
that saves the modifications you should be aware of the following:

- The routes **must** be in a protected area of your application
Expand Down Expand Up @@ -117,7 +117,7 @@ For example if you wish to display the editor based on a specific authorization

.. code-block:: yaml

# services.yml
# services.yaml
services:
my_activator:
class: AppBundle\RoleActivator
Expand All @@ -127,7 +127,7 @@ And then use this new activator in the bundle configuration:

.. code-block:: yaml

# config/config.yml
# config/config.yaml
translation:
# ..
edit_in_place:
Expand Down
6 changes: 3 additions & 3 deletions symfony/profiler-ui.rst
Original file line number Diff line number Diff line change
Expand Up @@ -12,17 +12,17 @@ Configuration

.. code-block:: yaml

# config/config.yml
# config/config.yaml
translation:
# ..
symfony_profiler:
enabled: true

.. code-block:: yaml

# config/routing_dev.yml
# config/routing_dev.yaml
_translation_profiler:
resource: '@TranslationBundle/Resources/config/routing_symfony_profiler.yml'
resource: '@TranslationBundle/Resources/config/routing_symfony_profiler.yaml'

See the updated Translation page in the Symfony profiler. There are some new buttons
on the right hand side.
6 changes: 3 additions & 3 deletions symfony/webui.rst
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ Configuration

.. code-block:: yaml
# config/config.yml
# config/config.yaml
translation:
# ..
webui:
Expand All @@ -28,9 +28,9 @@ Configuration
.. code-block:: yaml
# config/routing_dev.yml
# config/routing_dev.yaml
_translation_webui:
resource: "@TranslationBundle/Resources/config/routing_webui.yml"
resource: "@TranslationBundle/Resources/config/routing_webui.yaml"
prefix: /admin
Go to http://localhost.dev/app_dev.php/admin/_trans
Expand Down