Skip to content

Commit fe3ffb8

Browse files
committed
Merge pull request laravel#661 from tkjaergaard/fix-typo-in-controller-docs-for-resource-routing
Update type in Resource Controllers section in docs
2 parents 3954ad9 + b31e69b commit fe3ffb8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

controllers.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ And, you may also specify a subset of actions to handle on the route:
190190
array('only' => array('index', 'show')));
191191

192192
Route::resource('photo', 'PhotoController',
193-
array('except' => array('create', 'store', 'update', 'delete')));
193+
array('except' => array('create', 'store', 'update', 'destroy')));
194194

195195
By default, all resource controller actions have a route name; however, you can override these names by passing a `names` array with your options:
196196

0 commit comments

Comments
 (0)