Commit bde518b5 authored by Taylor Otwell's avatar Taylor Otwell

Use App facade.

parent 198b54d4
<?php namespace App\Providers; <?php namespace App\Providers;
use App;
use Illuminate\Routing\RouteServiceProvider as ServiceProvider; use Illuminate\Routing\RouteServiceProvider as ServiceProvider;
class RouteServiceProvider extends ServiceProvider { class RouteServiceProvider extends ServiceProvider {
...@@ -23,7 +24,7 @@ class RouteServiceProvider extends ServiceProvider { ...@@ -23,7 +24,7 @@ class RouteServiceProvider extends ServiceProvider {
*/ */
public function map() public function map()
{ {
$this->app->booted(function() App::booted(function()
{ {
// Once the application has booted, we will include the default routes // Once the application has booted, we will include the default routes
// file. This "namespace" helper will load the routes file within a // file. This "namespace" helper will load the routes file within a
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment