Skip to content

Commit 40b80f2

Browse files
committed
minor #10703 Update usage.rst (Hakihiro)
This PR was submitted for the 4.1 branch but it was merged into the 3.4 branch instead (closes #10703). Discussion ---------- Update usage.rst `to_review` is a name of a transitions in this doc page. But in the `workflow_has_marked_place` we pass a `place`, in this context it should be `review` instead of `to_review` <!-- If your pull request fixes a BUG, use the oldest maintained branch that contains the bug (see https://symfony.com/roadmap for the list of maintained branches). If your pull request documents a NEW FEATURE, use the same Symfony branch where the feature was introduced (and `master` for features of unreleased versions). --> Commits ------- cd32577 Update usage.rst
2 parents 5e57b3e + cd32577 commit 40b80f2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

workflow/usage.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -431,7 +431,7 @@ The following example shows these functions in action:
431431
{% endfor %}
432432
433433
{# Check if the object is in some specific place #}
434-
{% if workflow_has_marked_place(post, 'to_review') %}
434+
{% if workflow_has_marked_place(post, 'review') %}
435435
<p>This post is ready for review.</p>
436436
{% endif %}
437437

0 commit comments

Comments
 (0)