Skip to content

Commit 8ee4019

Browse files
committed
Adding named routes for zh-cn
1 parent 1f1d764 commit 8ee4019

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

index_zh-CN.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -375,6 +375,7 @@ <h6>命名路由</h6>
375375
Route::get('user/profile', [
376376
'as' => 'profile', 'uses' => 'UserController@showProfile'
377377
]);
378+
Route::get('user/profile', 'UserController@showProfile')->name('profile');
378379
$url = route('profile');
379380
$redirect = redirect()->route('profile');
380381
</pre>

0 commit comments

Comments
 (0)