Skip to content

Commit cd32577

Browse files
Hakihiroxabbuh
authored andcommitted
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`
1 parent 5e57b3e commit cd32577

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)