Conditions | 3 |
Paths | 4 |
Total Lines | 10 |
Code Lines | 5 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 1 |
1 | <?php namespace Anomaly\Streams\Platform\Routing\Command; |
||
22 | public function handle(Application $application) |
||
23 | { |
||
24 | if (file_exists($routes = base_path('resources/core/routes.php'))) { |
||
25 | include $routes; |
||
26 | } |
||
27 | |||
28 | if (file_exists($routes = $application->getResourcesPath('routes.php'))) { |
||
29 | include $routes; |
||
30 | } |
||
31 | } |
||
32 | } |
||
33 |