Skip to content

Commit

Permalink
Blank lines.
Browse files Browse the repository at this point in the history
  • Loading branch information
markstory committed Jun 6, 2017
1 parent 3a632d0 commit 4bd8e44
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Routing/RouteBuilder.php
Expand Up @@ -537,6 +537,7 @@ public function loadPlugin($name, $file = 'routes.php')
if (!Plugin::loaded($name)) {
throw new MissingPluginException(['plugin' => $name]);
}

$path = Plugin::configPath($name) . DIRECTORY_SEPARATOR . $file;
if (!file_exists($path)) {
throw new InvalidArgumentException(sprintf(
Expand All @@ -545,6 +546,7 @@ public function loadPlugin($name, $file = 'routes.php')
$path
));
}

$routes = $this;
include $path;
}
Expand Down

0 comments on commit 4bd8e44

Please sign in to comment.