1条回答 默认 最新
- doudan4834 2017-03-27 08:42关注
You can't change default
resource()
routes. You can tell Laravel to not build some of them by using->except(['update', 'create'])
.Add all custom routes manually:
Route::get('photos/createOnePhoto', ['as' => 'photo.createOne', 'uses' => 'PhotoController@createOnePhoto'])
本回答被题主选为最佳回答 , 对您是否有帮助呢?解决 无用评论 打赏 举报