Skip to content

Update urls.md #603

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 14, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion urls.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
git: 7e89b0d5ae05e39854aa7e78c44bdc9ff6de624d
git: 660476cce3eafe428106ab48e263a3c053f69b94
---

# Генерация URL-адресов
Expand Down Expand Up @@ -63,6 +63,9 @@ Laravel предлагает несколько функций, которые
// Получить полный URL-адрес предыдущего запроса...
echo url()->previous();

// Получить путь для предыдущего запроса...
echo url()->previousPath();

К каждому из этих методов также можно получить доступ через [фасад](/docs/{{version}}/facades) `URL`:

use Illuminate\Support\Facades\URL;
Expand Down