Skip to content
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

TASK: Tweak attribute routing docs #3398

Open
wants to merge 1 commit into
base: 9.0
Choose a base branch
from
Open
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
Original file line number Diff line number Diff line change
Expand Up @@ -749,8 +749,8 @@ It also is possible to specify a `providerFactory` and (optional) `providerOptio
You can use the ``flow:routing:list`` command to list all routes which are currently active, see `CLI`_

Subroutes from Annotations
--------------------------
Subroutes from Attributes
-------------------------

The ``Flow\Route`` attribute allows to define routes directly on the affected method.
(Currently only ActionController are supported https://github.com/neos/flow-development-collection/issues/3335)
Expand All @@ -774,8 +774,7 @@ The ``Flow\Route`` attribute allows to define routes directly on the affected me
}
}
To find the annotation and tp specify the order of routes this has to be used together with the
`\Neos\Flow\Mvc\Routing\AttributeRoutesProviderFactory` as `providerFactory` in Setting `Neos.Flow.mvc.routes`
In order to make attribute routes discoverable and to specify their order relative to explicitly configured routes, the `providerFactory` has to be specified in Setting `Neos.Flow.mvc.routes`:

.. code-block:: yaml
Expand Down
Loading