File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -156,7 +156,7 @@ like this:
156
156
will be used.
157
157
158
158
With this workflow named ``blog_publishing ``, you can get help to decide
159
- what actions that are allowed on a blog post. ::
159
+ what actions are allowed on a blog post. ::
160
160
161
161
$post = new \AppBundle\Entity\BlogPost();
162
162
@@ -195,7 +195,7 @@ See example to make sure no blog post without title is moved to "review"::
195
195
{
196
196
public function guardReview(GuardEvent $event)
197
197
{
198
- /** @var Acme \BlogPost $post */
198
+ /** @var \AppBundle\Entity \BlogPost $post */
199
199
$post = $event->getSubject();
200
200
$title = $post->title;
201
201
@@ -242,7 +242,7 @@ The links below will only be displayed when the action is allowed:
242
242
<a href="...">Reject article</a>
243
243
{% endif %}
244
244
245
- {# Or loop through the enabled transistions #}
245
+ {# Or loop through the enabled transitions #}
246
246
{% for transition in workflow_transitions(post) %}
247
247
<a href="...">{{ transition.name }}</a>
248
248
{% else %}
You can’t perform that action at this time.
0 commit comments