瀏覽代碼

[TwigBundle] fixed phpdoc in RouteTokenParser

Matthieu Bontemps 15 年之前
父節點
當前提交
a9c047f846
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/Symfony/Framework/TwigBundle/TokenParser/RouteTokenParser.php

+ 1 - 1
src/Symfony/Framework/TwigBundle/TokenParser/RouteTokenParser.php

@@ -16,7 +16,7 @@ use Symfony\Framework\TwigBundle\Node\HelperNode;
 /**
  * Wrapper for the route helper generate() method.
  *
- * {% route blog_post with ['id': post.id] %}
+ * {% route 'blog_post' with ['id': post.id] %}
  *
  * @package    Symfony
  * @subpackage Framework_TwigBundle