If you add a node to the route (e.g. /foo/create/person ... assumes person is a $type in the class), then your method should look like function create($type = 'person'). If you're talking about query params, like /foo/create?type=person then that won't get passed as a method, but you can access via Request::input('type').
Sign in to participate in this thread!
We'd like to thank these amazing companies for supporting us