diff options
author | Camil Staps | 2015-02-17 00:06:02 +0100 |
---|---|---|
committer | Camil Staps | 2015-02-17 00:06:02 +0100 |
commit | 9b8d1940a1d7e8efffd76e2a3f6352d370294230 (patch) | |
tree | cd0a846a53ba61d9b27382b58947a63482f445e4 /backyard/php-api/trunk/app/Providers/RouteServiceProvider.php | |
parent | Added PHP API framework (diff) |
Changed to dingo API
Diffstat (limited to 'backyard/php-api/trunk/app/Providers/RouteServiceProvider.php')
-rw-r--r-- | backyard/php-api/trunk/app/Providers/RouteServiceProvider.php | 44 |
1 files changed, 0 insertions, 44 deletions
diff --git a/backyard/php-api/trunk/app/Providers/RouteServiceProvider.php b/backyard/php-api/trunk/app/Providers/RouteServiceProvider.php deleted file mode 100644 index afa34c8..0000000 --- a/backyard/php-api/trunk/app/Providers/RouteServiceProvider.php +++ /dev/null @@ -1,44 +0,0 @@ -<?php namespace App\Providers; - -use Illuminate\Routing\Router; -use Illuminate\Foundation\Support\Providers\RouteServiceProvider as ServiceProvider; - -class RouteServiceProvider extends ServiceProvider { - - /** - * This namespace is applied to the controller routes in your routes file. - * - * In addition, it is set as the URL generator's root namespace. - * - * @var string - */ - protected $namespace = 'App\Http\Controllers'; - - /** - * Define your route model bindings, pattern filters, etc. - * - * @param \Illuminate\Routing\Router $router - * @return void - */ - public function boot(Router $router) - { - parent::boot($router); - - // - } - - /** - * Define the routes for the application. - * - * @param \Illuminate\Routing\Router $router - * @return void - */ - public function map(Router $router) - { - $router->group(['namespace' => $this->namespace], function($router) - { - require app_path('Http/routes.php'); - }); - } - -} |