# Маршрутизация

После запуска программы установки voyager вы увидите несколько новых маршрутов, которые были добавлены в ваш файл `routes/web.php` и выглядят следующим образом:

```php
Route::group(['prefix' => 'admin'], function () {
    Voyager::routes();
});
```

Именно здесь будут отображены маршруты Voyadger. При желании Вы можете изменить префикс `admin` или задать любую другую конфигурацию маршрута, например, `middleware` или `domain`.

При создании нового типа BREAD и указании slug для этого BREAD, вы можете перейти к этому маршруту по следующей ссылке:

```
URL/admin/slug-name
```

В качестве примера, у нас есть таблица `products` и мы указали slug как `product`. Вы сможете посетить следующий URL:

```
URL/admin/products
```

{% hint style="info" %}
**Уведомление**\
Вы можете не увидеть ссылку на только что созданные вами маршруты или BREAD в меню администрирования. Для создания новой ссылки в админ-меню посетите документацию к [разделу меню](/voyager-ru/core-concepts/menus-and-menu-builder.md).
{% endhint %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://delphinpro.gitbook.io/voyager-ru/core-concepts/routing.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
