I need to pass multiple parameters to a redirect in Laravel 5. I tried the following but it gives me the error "The HTTP status code "1" is not valid."
return Redirect::to('availability', array('date' => urlencode(Session::get('bookingFormData.date')), 'expired' => 'true'));
My route is setup as follows:
Route::get('availability', 'BookingController@checkavailability');