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:
156156 will be used.
157157
158158With 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. ::
160160
161161 $post = new \AppBundle\Entity\BlogPost();
162162
@@ -195,7 +195,7 @@ See example to make sure no blog post without title is moved to "review"::
195195 {
196196 public function guardReview(GuardEvent $event)
197197 {
198- /** @var Acme \BlogPost $post */
198+ /** @var \AppBundle\Entity \BlogPost $post */
199199 $post = $event->getSubject();
200200 $title = $post->title;
201201
@@ -242,7 +242,7 @@ The links below will only be displayed when the action is allowed:
242242 <a href="...">Reject article</a>
243243 {% endif %}
244244
245- {# Or loop through the enabled transistions #}
245+ {# Or loop through the enabled transitions #}
246246 {% for transition in workflow_transitions(post) %}
247247 <a href="...">{{ transition.name }}</a>
248248 {% else %}
You can’t perform that action at this time.
0 commit comments