From eff1f84050c9e2711ce552000d24a47e7482c06d Mon Sep 17 00:00:00 2001 From: Taylor Otwell Date: Tue, 9 Sep 2014 10:01:59 -0500 Subject: [PATCH] Remove extra lines. --- app/Providers/ErrorServiceProvider.php | 1 - app/Providers/RouteServiceProvider.php | 1 - 2 files changed, 2 deletions(-) diff --git a/app/Providers/ErrorServiceProvider.php b/app/Providers/ErrorServiceProvider.php index 1b4b3fe6..852cdd4b 100644 --- a/app/Providers/ErrorServiceProvider.php +++ b/app/Providers/ErrorServiceProvider.php @@ -17,7 +17,6 @@ public function boot() // even register several error handlers to handle different types of // exceptions. If nothing is returned, the default error view is // shown, which includes a detailed stack trace during debug. - App::error(function(Exception $e) { Log::error($e); diff --git a/app/Providers/RouteServiceProvider.php b/app/Providers/RouteServiceProvider.php index 738d3b7f..458347c1 100644 --- a/app/Providers/RouteServiceProvider.php +++ b/app/Providers/RouteServiceProvider.php @@ -31,7 +31,6 @@ public function map() // Once the application has booted, we will include the default routes // file. This "namespace" helper will load the routes file within a // route group which automatically sets the controller namespace. - $this->namespaced(function() { require app_path().'/Http/routes.php';