---
title: "Read pathname Example"
description: "Extracted example from ctx.route"
---

# ctx.route

## Read pathname

```ts
ctx.message.info('Current page: ' + ctx.route.pathname);
```
