mscherer 2 年之前
父节点
当前提交
dfb15377a3
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      docs/Component/RefererRedirect.md

+ 1 - 1
docs/Component/RefererRedirect.md

@@ -39,7 +39,7 @@ From your paginated and filtered index page you can now point to the edit page l
 
 ```php
 <?php echo $this->Html->link(
-    $this->Format->icon('edit'),
+    $this->Icon->render('edit'),
     ['controller' => 'Versions', 'action' => 'edit', $version->id, '?' => ['ref' => $this->getRequest()->getRequestTarget()]],
     ['escape' => false]
 ); ?>