From 8ed675ebe1a4324fe311646f336fe45034a0ccd9 Mon Sep 17 00:00:00 2001 From: Hillel Coren Date: Thu, 26 Mar 2015 16:35:57 +0200 Subject: [PATCH] Working on users --- app/Http/Controllers/AppController.php | 2 +- app/Http/Controllers/HomeController.php | 2 ++ app/Services/Registrar.php | 2 +- composer.lock | 21 +++++++++++---------- config/auth.php | 2 +- 5 files changed, 16 insertions(+), 13 deletions(-) diff --git a/app/Http/Controllers/AppController.php b/app/Http/Controllers/AppController.php index 4e8edf0362..b799f973ea 100644 --- a/app/Http/Controllers/AppController.php +++ b/app/Http/Controllers/AppController.php @@ -91,7 +91,7 @@ class AppController extends BaseController fclose($fp); // == DB Migrate & Seed == // - Artisan::call('migrate:rollback', array('--force' => true)); // Debug Purposes + // Artisan::call('migrate:rollback', array('--force' => true)); // Debug Purposes Artisan::call('migrate', array('--force' => true)); Artisan::call('db:seed', array('--force' => true)); diff --git a/app/Http/Controllers/HomeController.php b/app/Http/Controllers/HomeController.php index 25fb49884d..23681afb28 100644 --- a/app/Http/Controllers/HomeController.php +++ b/app/Http/Controllers/HomeController.php @@ -4,6 +4,8 @@ use App\Libraries\Utils; use App\Ninja\Mailers\Mailer; use Redirect; use App\Models\Account; +use Auth; +use View; class HomeController extends BaseController { diff --git a/app/Services/Registrar.php b/app/Services/Registrar.php index 1035468140..cf19d6f4b7 100644 --- a/app/Services/Registrar.php +++ b/app/Services/Registrar.php @@ -1,6 +1,6 @@ =5.3.0" + "php": ">=5.3.0", + "symfony/translation": "2.6.*" }, "require-dev": { "phpunit/phpunit": "~4.0" @@ -2314,7 +2315,7 @@ "datetime", "time" ], - "time": "2015-03-08 14:05:44" + "time": "2015-03-26 03:05:57" }, { "name": "nikic/php-parser", diff --git a/config/auth.php b/config/auth.php index 5b436aa4f9..1ce67b55a1 100644 --- a/config/auth.php +++ b/config/auth.php @@ -28,7 +28,7 @@ return [ | */ - 'model' => 'App\User', + 'model' => 'App\Models\User', /* |--------------------------------------------------------------------------