@@ -16,7 +16,7 @@ |
||
| 16 | 16 | public function boot() |
| 17 | 17 | { |
| 18 | 18 | // Pass the logged in user's full name to the layouts._header view. |
| 19 | - view()->composer(['layouts._navbar', 'home._last_login'], function ($view) { |
|
| 19 | + view()->composer(['layouts._navbar', 'home._last_login'], function($view) { |
|
| 20 | 20 | $view->with('logged_in_user', Auth::user()->user_full_name); |
| 21 | 21 | $view->with('duties', Duty::all()); |
| 22 | 22 | }); |
@@ -38,7 +38,7 @@ |
||
| 38 | 38 | */ |
| 39 | 39 | public function scopeActiveUsers($query) |
| 40 | 40 | { |
| 41 | - return $query->whereHas('user', function ($q) { |
|
| 41 | + return $query->whereHas('user', function($q) { |
|
| 42 | 42 | $q->where('status', 'active'); |
| 43 | 43 | }); |
| 44 | 44 | } |
@@ -17,5 +17,5 @@ |
||
| 17 | 17 | public $incrementing = false; |
| 18 | 18 | protected $primaryKey = 'name'; |
| 19 | 19 | |
| 20 | - protected $fillable = array('name','primary','secondary'); |
|
| 20 | + protected $fillable = array('name', 'primary', 'secondary'); |
|
| 21 | 21 | } |