on your middleware handle method the first param is the current request object. You can use it?
public function handle($request, Closure $next)
{
if($request->input('color') == 'red') {
return $next($request);
}
}
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community