Permalink
Browse files

CS issue fix.

  • Loading branch information...
1 parent 4f1a813 commit 8e7c2172771238209d718c4ef7c9cea05796ce9f @sam-at-github sam-at-github committed Feb 12, 2014
Showing with 3 additions and 3 deletions.
  1. +3 −3 src/Config/routes.php
View
@@ -55,17 +55,17 @@
$pluginShortMatch = $match + ['routeClass' => 'Cake\Routing\Route\PluginShortRoute',
'_name' => '_plugin._controller:index'];
-if($prefixPattern && $pluginPattern) {
+if ($prefixPattern && $pluginPattern) {
Router::connect("/:prefix/:plugin", $indexParams, $pluginShortMatch);
Router::connect("/:prefix/:plugin/:controller", $indexParams, $match);
Router::connect("/:prefix/:plugin/:controller/:action/*", [], $match);
}
-if($pluginPattern) {
+if ($pluginPattern) {
Router::connect("/:plugin", $indexParams, $pluginShortMatch);
Router::connect("/:plugin/:controller", $indexParams, $match);
Router::connect("/:plugin/:controller/:action/*", [], $match);
}
-if($prefixPattern) {
+if ($prefixPattern) {
Router::connect("/:prefix/:controller", $indexParams, $match);
Router::connect("/:prefix/:controller/:action/*", [], $match);
}

0 comments on commit 8e7c217

Please sign in to comment.