2
I created a action without being the standard of resource, how can I call the same for an action on form as I call the update and store.
<form method="POST" role="form" action="{!!URL::route('cadastro.store')!!}" >
I want to call a query when click example
<form method="POST" role="form" action="{!!URL('cadastro.consulta')!!}">
What is the name of
Controllerand what is the name of the Method (Action)?– novic
register Control and the action I want to call and query, public Function search(Request $request) { $name= $request['name']; $clients= registrationClient:: Where('name','like', "%".$name."%")->get(); Return view('clients.index', Compact('clients')); }
– Kaninchem
Okay, I believe that’s it !!!
– novic