Open dillingham opened 2 years ago
Useful for defining routes with filters: /active
/active
public function active(ArticleFormation $formation) { $formation->merge(['status' => 'active']); return $formation->results(); }
maybe a better name than merge
Adding hardcoded filters
Useful for defining routes with filters:
/active
maybe a better name than merge