# האם ניתן לסריאל את הבקר?

**URL:** <https://meta.discourse.org/t/can-you-serialize-a-controller/262156>\
**Category:** Development\
**Created:** [19 באפריל,‏ 2023,‏ 12:21am UTC](https://meta.discourse.org/t/can-you-serialize-a-controller/262156 "2023-04-19T00:21:22Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)\
**Post date:** [19 באפריל,‏ 2023,‏ 2:49pm UTC](https://meta.discourse.org/t/can-you-serialize-a-controller/262156/4 "2023-04-19T14:49:32Z")

</div>

Ah. Then you need to add a Rails model and then also add a model to Ember. I have done it several times and still find it very confusing.

Check out an other plugin that adds a route. [Subscriptions](https://github.com/discourse/discourse-subscriptions) is one, but you might also get [GitHub - discourse/all-the-plugins · GitHub](https://github.com/discourse/all-the-plugins) and then do a find for “route\*”. The Rails part is in `config` and the Ember part is in `assets/javascripts/discourse/routes`.

---

_[View the full topic](https://meta.discourse.org/t/can-you-serialize-a-controller/262156)._
