When creating route laravel will check if there are any required parameters, anything eles will be appended to url as basic get params.
Form has 'url' => 'admin/pretraga' url and is posted as get. So you should create route that is just simple get route like so
Route::get('admin/pretraga', $pretraga_c.'@getPretraga');
But you have different urls provided. So you should fix your group. Its prefixed url should be the same as is in the form.
I think thiss will work. I provided just part of my routes file, so there is route group above 'pretraga' part. Thanks :)
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community