# How to customize routes and render custom pages in a plugin?

**URL:** https://meta.discourse.org/t/topic/391441
**Category:** Development
**Created:** [December 16, 2025, 8:49am UTC](https://meta.discourse.org/t/topic/391441 "2025-12-16T08:49:53Z")
**Posts on this page:** 1
**Showing post:** 1

<div class="post-metadata">

### Author: ![singi2016cn](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/singi2016cn/32/532755_2.png) [@singi2016cn](https://meta.discourse.org/u/singi2016cn)
#### Post date: [December 16, 2025, 8:49am UTC](https://meta.discourse.org/t/topic/391441/1 "2025-12-16T08:49:53Z")

</div>

In a plugin, how do I customize routes and then render a custom page?

I looked at this post: [Developing Discourse Plugins - Part 5 - Add an Admin Interface - Docs / Developer Guide - Discourse Meta](https://meta.discourse.org/t/developing-discourse-plugins-part-5-add-an-admin-interface/31761?silent=true), and other plugins, but they all failed.

My custom routes are returning JSON data, but what I want is to render an Ember template. Is there a post that explains this related knowledge? Thank you very much.

---

_[View the full topic](https://meta.discourse.org/t/topic/391441)._
