Jeff Notes
Notes on systems, code, and tiny wins.
在laravel的blade视图中,想要获取route名称,可以使用下面的代码:
Route::currentRouteName()