Support the ongoing development of →
Requests Input Forms
Last updated 2 years ago.

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!


Your banner here too?

intrepidws intrepidws Joined 20 May 2014


We'd like to thank these amazing companies for supporting us

Your logo here?

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 - All rights reserved.