Skip to content

Commit

Permalink
Merge pull request #90 from fengchenghao/patch-1
Browse files Browse the repository at this point in the history
 bug fix: controllers.md RESTful line 5
  • Loading branch information
overtrue committed Dec 12, 2016
2 parents 37fa12d + a96ac43 commit 8361409
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion controllers.md
Expand Up @@ -132,7 +132,7 @@ Laravel 资源路由只需一行代码就可以将典型的 "CRUD" 路由指定

php artisan make:controller PhotoController --resource

此命令会生成 `app/Http/Controllers/PhotosController.php` 控制器文件。该控制器会包含各种资源操作的方法。
此命令会生成 `app/Http/Controllers/PhotoController.php` 控制器文件。该控制器会包含各种资源操作的方法。

接下来,你可以在控制器中注册资源化路由:

Expand Down

0 comments on commit 8361409

Please sign in to comment.