Skip to content

Commit

Permalink
CS issue - array.
Browse files Browse the repository at this point in the history
  • Loading branch information
sgpinkus committed Feb 12, 2014
1 parent d823ba9 commit 505af4e
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/Config/routes.php
Expand Up @@ -52,8 +52,10 @@
$pluginPattern = implode('|', $plugins);
$indexParams = ['action' => 'index'];
$match = ['prefix' => $prefixPattern, 'plugin' => $pluginPattern];
$pluginShortMatch = $match + ['routeClass' => 'Cake\Routing\Route\PluginShortRoute',
'_name' => '_plugin._controller:index'];
$pluginShortMatch = $match + [
'routeClass' => 'Cake\Routing\Route\PluginShortRoute',
'_name' => '_plugin._controller:index'
];

if ($prefixPattern && $pluginPattern) {
Router::connect("/:prefix/:plugin", $indexParams, $pluginShortMatch);
Expand Down

0 comments on commit 505af4e

Please sign in to comment.