Skip to content

Minor style fixes #15

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 27, 2016
Merged
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
17 changes: 9 additions & 8 deletions symfony/edit-in-place.rst
Original file line number Diff line number Diff line change
Expand Up @@ -22,24 +22,25 @@ Configuration
# ..
edit_in_place:
enabled: true
# config_name: default
# activator: php_translation.edit_in_place.activator
config_name: default # The configuration to use
activator: php_translation.edit_in_place.activator # The activator service id
# ..

- ``config_name`` is the configuration to use;
- ``activator`` is the activator service name, see below.

.. code-block:: yaml

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

- this routing file expose the controller saving the modifications, it **must**:
.. note::

When you include the ``routing_edit_in_place.yml`` 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
- The routes **must** be in the production routing file.

- be in a protected area of your application;
- be in the production routing file.

Usage
-----
Expand Down