# Routing

The LaunchStack routes are split into files like:

* routes/admin.php
* routes/app.php
* routes/blog.php
* routes/website.php
* routes/web.php \[**It's responsible to include all routes above**]
* routes/auth.php
* routes/api.php
* routes/channels.php
* routes/console.php

Let's suppose you want to add the help center to your application, you need to create a new file inside the routes folder like **help.php**

```php
<?php

use Illuminate\Support\Facades\Route;

use App\Http\Controllers\Help\ArticleController;

Route::get('/help', [ArticleController::class, 'index'])->name('help.articles.index');
Route::get('/help/{slug}', [ArticleController::class, 'show'])->name('help.articles.show');
```


---

# 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://docs.launchstack.app/backend/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.
