dimanche 8 novembre 2015

Supplementing Resource Controllers in Laravel 5.1

I founding Laravel 5.1 documentation that if someone need to add extra route then Route::get could be possible. But I need this one. So is it possible. In my case this is showing error. TIA link is here

Route::post('institute/uploadProfilePicPost', 'Institute\InstituteController@uploadProfilePicturePost');
Route::get('institute/uploadProfilePicGet/{id}', 'Institute\InstituteController@uploadProfilePictureGet');
Route::resource('institute', 'Institute\InstituteController');



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire