| 1 |
<?php if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly |
| 2 |
/** |
| 3 |
* @var $router FluentCommunity\Framework\Http\Router |
| 4 |
*/ |
| 5 |
|
| 6 |
$router->namespace('FluentCommunity\App\Http\Controllers')->group(function($router) { |
| 7 |
require_once __DIR__ . '/api.php'; |
| 8 |
}); |
| 9 |
|
| 10 |
if (file_exists(FLUENT_COMMUNITY_PLUGIN_DIR .'dev/seed-routes.php')) { |
| 11 |
require_once FLUENT_COMMUNITY_PLUGIN_DIR .'dev/seed-routes.php'; |
| 12 |
} |
| 13 |
|