As mentioned here filters are disabled while testing controllers. So as taylor said, I've made class...
Hello ! i'm trying to sync a polymorphic pivot table from the morphedByMany side of a relationship....
For the views maybe you can use nested views. For the controller i don't see any other solution than...
You can ignore an id : 'username' => 'required|unique:staff_user,username' . $this->id
$cities_for_select = City::lists('city', 'id');
Option values are keys and option names are values, you just have to construct an array like $dates...
The Laravel portal for problem solving, knowledge sharing and community building.