Преглед на файлове

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)));
             }
         }