From 36a714b1549272abf064a14c6c3e6a4fed2b1495 Mon Sep 17 00:00:00 2001 From: Gil Rutkowski Date: Sun, 1 Dec 2013 15:15:52 -0600 Subject: [PATCH] Published debug bar assets on install. Moved jQuery & data tables to the head. Added Chumper Datatables. --- README.md | 4 +- app/config/app.php | 4 + app/views/backend/layouts/default.blade.php | 6 +- composer.json | 7 +- composer.lock | 119 +++++++++----------- 5 files changed, 70 insertions(+), 70 deletions(-) mode change 100755 => 100644 composer.lock diff --git a/README.md b/README.md index afa28d7409d6..fb40ebf80cda 100644 --- a/README.md +++ b/README.md @@ -163,9 +163,7 @@ Loading up the sample data will give you an idea of how this should look, how yo ## Optional Development Stuff ### Set up the debugbar -In dev mode, I use the fabulous [Laravel Debugbar](https://github.com/barryvdh/laravel-debugbar) by @barryvdh. After you've installed/updated composer, you'll need to publish the assets for the debugbar: - - php artisan debugbar:publish +In dev mode, I use the fabulous [Laravel Debugbar](https://github.com/barryvdh/laravel-debugbar) by @barryvdh. The profiler is enabled by default if you have debug set to true in your app.php. You certainly don't have to use it, but it's pretty handy for troubleshooting queries, seeing how much memory your pages are using, etc. diff --git a/app/config/app.php b/app/config/app.php index b372b9078d13..f1d6c7592777 100755 --- a/app/config/app.php +++ b/app/config/app.php @@ -77,6 +77,8 @@ 'Cartalyst\Sentry\SentryServiceProvider', + 'Chumper\Datatable\DatatableServiceProvider', + ), /* @@ -144,6 +146,8 @@ 'Sentry' => 'Cartalyst\Sentry\Facades\Laravel\Sentry', + 'Datatable' => 'Chumper\Datatable\Facades\Datatable', + ), ); diff --git a/app/views/backend/layouts/default.blade.php b/app/views/backend/layouts/default.blade.php index a6c0524fb515..14650c6229b5 100755 --- a/app/views/backend/layouts/default.blade.php +++ b/app/views/backend/layouts/default.blade.php @@ -40,7 +40,9 @@ - + + + @@ -276,13 +278,11 @@ - -