8000 [Workflow] Fixed wording by mvar · Pull Request #7354 · symfony/symfony-docs · GitHub
[go: up one dir, main page]

Skip to content

[Workflow] Fixed wording #7354

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
Jan 13, 2017
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
Fixed wording
  • Loading branch information
mvar authored Jan 11, 2017
commit 919ca1f446747b95b5991759f0b91708bd6e3cf1
6 changes: 3 additions & 3 deletions workflow/usage.rst
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ like this:
will be used.

With this workflow named ``blog_publishing``, you can get help to decide
what actions that are allowed on a blog post. ::
what actions are allowed on a blog post. ::

$post = new \AppBundle\Entity\BlogPost();

Expand Down Expand Up @@ -195,7 +195,7 @@ See example to make sure no blog post without title is moved to "review"::
{
public function guardReview(GuardEvent $event)
{
/** @var Acme\BlogPost $post */
/** @var \AppBundle\Entity\BlogPost $post */
$post = $event->getSubject();
$title = $post->title;

Expand Down Expand Up @@ -242,7 +242,7 @@ The links below will only be displayed when the action is allowed:
<a href="...">Reject article</a>
{% endif %}

{# Or loop through the enabled transistions #}
{# Or loop through the enabled transitions #}
{% for transition in workflow_transitions(post) %}
<a href="...">{{ transition.name }}</a>
{% else %}
Expand Down
0