Various new stuff.

This commit is contained in:
James Cole
2014-06-28 09:57:17 +02:00
parent f4194368c9
commit a3a30bd5e1
9 changed files with 15 additions and 113 deletions

View File

@@ -4,27 +4,8 @@ use Illuminate\Support\Facades\Config;
return array(
/*
|--------------------------------------------------------------------------
| Debugbar Settings
|--------------------------------------------------------------------------
|
| Debugbar is enabled by default, when debug is set to true in app.php.
|
*/
'enabled' => Config::get('app.debug'),
/*
|--------------------------------------------------------------------------
| Storage settings
|--------------------------------------------------------------------------
|
| DebugBar stores data for session/ajax requests in a directory.
| You can disable this, so the debugbar stores data in headers/session,
| but this can cause problems with large data collectors.
|
*/
'storage' => array(
'enabled' => true,
'path' => storage_path() . '/debugbar',

View File

@@ -2,22 +2,10 @@
class HomeController extends BaseController {
/*
|--------------------------------------------------------------------------
| Default Home Controller
|--------------------------------------------------------------------------
|
| You may wish to use controllers instead of, or in addition to, Closure
| based routes. That's great! Here is an example controller method to
| get you started. To route to this controller, just add the route:
|
| Route::get('/', 'HomeController@showWelcome');
|
*/
public function showWelcome()
public function index()
{
return View::make('hello');
return View::make('index');
}
}

View File

@@ -11,7 +11,4 @@
|
*/
Route::get('/', function()
{
return View::make('hello');
});
Route::get('/', ['uses' => 'HomeController@index','as' => 'index']);

2
app/storage/debugbar/.gitignore vendored Normal file
View File

@@ -0,0 +1,2 @@
*
!.gitignore

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,8 @@
<html>
<head>
<title>Bla bla</title>
</head>
<body>
Bla bla
</body>
</html>