/** * Find the User or App Abort 404. */ public function findUser(Route $route) { $this->producer = User::findOrFail($route->getParameter('productores')); }
/** * Find the User or App Abort 404. */ public function findUser(Route $route) { $this->shopkeeper = User::findOrFail($route->getParameter('tenderos')); }