瀏覽代碼

Corrected the error message for when basRouteName is not set

Pascal Burkhard 14 年之前
父節點
當前提交
1e2ae43b2e
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      Admin/Admin.php

+ 1 - 1
Admin/Admin.php

@@ -160,7 +160,7 @@ abstract class Admin extends ContainerAware
                     $this->urlize($matches[5])
                 );
             } else {
-                throw new \RuntimeException(sprintf('Please define a default `baseRoutePattern` value for the admin class `%s`', get_class($this)));
+                throw new \RuntimeException(sprintf('Please define a default `baseRouteName` value for the admin class `%s`', get_class($this)));
             }
         }