public function map($type = null, $id = null)
if you check the docs you'll see that you have to define the params to the method in your controller as null if they're not always expected.
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community