Skip to content

Commit

Permalink
chore: redirect
Browse files Browse the repository at this point in the history
  • Loading branch information
DissNik committed May 8, 2024
1 parent 2a7b16b commit 5196a93
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions routes/web.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@
->where('local', 'en|ru')
->name('locale');

Route::get('/docs/section/{pageUri}', function ($pageUri) {
return redirect(to_page(page: $pageUri), 301);
});

Route::match(['get', 'post'], 'async', function (){
return fake()->text();
})
Expand Down

0 comments on commit 5196a93

Please sign in to comment.