Add lookup for aircraft as /fleet/aircraft/{id} #120

This commit is contained in:
Nabeel Shahzad
2018-01-05 13:00:45 -06:00
parent 1ee9041058
commit 500cbb8e06
9 changed files with 85 additions and 15 deletions

View File

@@ -7,7 +7,7 @@ $factory->define(App\Models\User::class, function (Faker $faker)
static $password;
return [
'id' => $faker->unique()->numberBetween(10, 10000),
#'id' => $faker->unique()->numberBetween(10, 10000),
'name' => $faker->name,
'email' => $faker->safeEmail,
'password' => $password ?: $password = Hash::make('secret'),