Skip to content

Commit

Permalink
Rolling back some changes until I figure out how to handle plugin routes
Browse files Browse the repository at this point in the history
  • Loading branch information
lorenzo committed Jun 8, 2014
1 parent f2b3e95 commit d46bdf1
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/Config/routes.php
Expand Up @@ -46,6 +46,9 @@
$prefixes = Router::prefixes();
$prefixPattern = implode('|', $prefixes);
$plugins = Plugin::loaded();
foreach ($plugins as $key => $value) {
$plugins[$key] = Inflector::underscore($value);
}
$pluginPattern = implode('|', $plugins);
$indexParams = ['action' => 'index'];
$pluginShortMatch = [
Expand Down

0 comments on commit d46bdf1

Please sign in to comment.