marinarioagalliu liked this thread
The second parameter of route()
requires an associative array of param => value
, you should edit your code to be:
route(Route::currentRouteName(), ['locale' => 'en']);
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community