[Solved] resource controller, pass multiple parameters using AJAX

You can add that specific route above the resource (I’m assuming you are using GET for your ajax requests): Route::group(array(‘prefix’ => ‘api/v1’), function(){ Route::get(‘event/{start}/{end}’, ‘EventController@index’); Route::resource(‘event’, ‘EventController’); }); In your controller, make your parameters optional so you can use the same controller action for both routes, api/v1/event and api/v1/event: <?php class EventController extends BaseController { … Read more