Skip to content
Permalink
Browse files

Limit to 2 items on the explode.

  • Loading branch information...
dakota committed Dec 9, 2015
1 parent 1f5c9e7 commit ba9e04c0c697561610ce0398f23dd25276ac7308
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/Routing/Route/DashedRoute.php
@@ -45,7 +45,7 @@ protected function _camelizePlugin($plugin) {
if (strpos($plugin, '/') === false) {
return Inflector::camelize($plugin);
}
list($vendor, $plugin) = explode('/', $plugin, 1);
list($vendor, $plugin) = explode('/', $plugin, 2);
return Inflector::camelize($vendor) . '/' . Inflector::camelize($plugin);
}

0 comments on commit ba9e04c

Please sign in to comment.
You can’t perform that action at this time.