# Content "Slug Admin" url generation

## TLDR

```twig
{{ aa_content_path('page', {slugAdmin: "news"}) }}
{{ aa_content_path_safe('page', {slugAdmin: "references"}) }}
```

---

## Introduction

Permit to reference an entity without hardcoding its id.

## Principle

Contents extending default root models (translatable, untranslated) have a "slugAdmin" string property that can be
edited using admin as a reference to root content.

## Doctrine

The field in doctrine request will be referenced as '_.slugAdmin'.