Laravel: Difference between revisions
| Line 59: | Line 59: | ||
Route::options($uri, $callback); | Route::options($uri, $callback); | ||
</syntaxhighlight> | </syntaxhighlight> | ||
Theses can also be simplified with a single <code>Route::resource($uri, $className);</code> for a [https://laravel.com/docs/7.x/controllers resource controller] | |||
===Parameters/Variables=== | ===Parameters/Variables=== | ||