summaryrefslogtreecommitdiffstats
path: root/lib/private/AppFramework/Routing/RouteConfig.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/private/AppFramework/Routing/RouteConfig.php')
-rw-r--r--lib/private/AppFramework/Routing/RouteConfig.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/AppFramework/Routing/RouteConfig.php b/lib/private/AppFramework/Routing/RouteConfig.php
index 0fde866fb7c..3986abd6d6e 100644
--- a/lib/private/AppFramework/Routing/RouteConfig.php
+++ b/lib/private/AppFramework/Routing/RouteConfig.php
@@ -130,7 +130,7 @@ class RouteConfig {
$split = explode('#', $name, 2);
if (count($split) !== 2) {
- throw new \UnexpectedValueException('Invalid route name');
+ throw new \UnexpectedValueException('Invalid route name: use the format foo#bar to reference FooController::bar');
}
[$controller, $action] = $split;