API updates

This commit is contained in:
Manish Verma
2018-08-07 16:56:16 +05:30
parent ac145fe565
commit a08bfd0ebd
10 changed files with 166 additions and 84 deletions

View File

@@ -0,0 +1,34 @@
<?php
namespace App\Api;
use Illuminate\Support\ServiceProvider;
class ApiServiceProvider extends ServiceProvider
{
/**
* Bootstrap the application events.
*
* @return void
*/
public function boot()
{
//
}
/**
* Register the service provider.
*
* @return void
*/
public function register()
{
// Add routes
// if (isInstall()) {
$routes = app_path('/Api/routes.php');
if (file_exists($routes)) {
require $routes;
}
// }
}
}