Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

CS issue - array.

  • Loading branch information...
commit 505af4e64985fccf48d11feb3e446139eeefdcf9 1 parent d823ba9
@sam-at-github sam-at-github authored
Showing with 4 additions and 2 deletions.
  1. +4 −2 src/Config/routes.php
View
6 src/Config/routes.php
@@ -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);
Please sign in to comment.
Something went wrong with that request. Please try again.