@@ -15,11 +15,11 @@ |
||
| 15 | 15 | */ |
| 16 | 16 | class Study extends Model implements Transformable |
| 17 | 17 | { |
| 18 | - use HasLaw,HasDepartments,HasCourses,Nameable,TransformableTrait; |
|
| 18 | + use HasLaw, HasDepartments, HasCourses, Nameable, TransformableTrait; |
|
| 19 | 19 | /** |
| 20 | 20 | * The attributes that are mass assignable. |
| 21 | 21 | * |
| 22 | 22 | * @var array |
| 23 | 23 | */ |
| 24 | - protected $fillable = ['name']; |
|
| 24 | + protected $fillable = [ 'name' ]; |
|
| 25 | 25 | } |
@@ -5,7 +5,7 @@ |
||
| 5 | 5 | * but take into account we have to add 'web' middleware group here because Laravel by defaults add this middleware in |
| 6 | 6 | * RouteServiceProvider |
| 7 | 7 | */ |
| 8 | -Route::group(['middleware' => 'web'], function () { |
|
| 8 | +Route::group([ 'middleware' => 'web' ], function() { |
|
| 9 | 9 | Route::auth(); |
| 10 | 10 | Route::get('/home', 'HomeController@index'); |
| 11 | 11 | }); |