我正在开发一个Laravel 5应用程序,我有这条路由
Route::get('states/{id}/regions', ['as' => 'regions', 'uses' => 'RegionController@index']);
In my controller, after I make a post call correctly, I want to redirect to that view, with this command:
return \Redirect::route('regions')->with('message', 'State saved correctly!!!');
The problem is that I don't know how can I pass {id} parameter, which should be in my URL.
Thank you.