# slugify

**Kind:** Function

**Source:** [`atloria-monorepo/apps/api/src/document/services/draft-document.service.ts`](https://github.com/sherkety/atloria/blob/main/atloria-monorepo/apps/api/src/document/services/draft-document.service.ts#L24)

Slugify a title into a URL-safe slug (shared with the recorder draft path).

## Signature

```ts
function slugify(text: string, fallback): string
```

## Parameters

| Name | Type |
|---|---|
| `text` | `string` |
| `fallback` | `any` |

**Returns:** `string`
