Permalink
Browse files

CS issue - array.

  • Loading branch information...
sam-at-github committed Feb 12, 2014
1 parent d823ba9 commit 505af4e64985fccf48d11feb3e446139eeefdcf9
Showing with 4 additions and 2 deletions.
  1. +4 −2 src/Config/routes.php
View
@@ -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);

0 comments on commit 505af4e

Please sign in to comment.