# 在插件中重写邀请页面的 Ember.js 控制器

**URL:** <https://meta.discourse.org/t/rewriting-an-invite-page-ember-js-controller-in-plugin/87368>\
**Category:** Development\
**Created:** [2018年五月13日 14:28 UTC](https://meta.discourse.org/t/rewriting-an-invite-page-ember-js-controller-in-plugin/87368 "2018-05-13T14:28:42Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![nikitabytsko](https://avatars.discourse-cdn.com/v4/letter/n/9de0a6/32.png) [@nikitabytsko](https://meta.discourse.org/u/nikitabytsko)\
**Post date:** [2018年五月13日 14:28 UTC](https://meta.discourse.org/t/rewriting-an-invite-page-ember-js-controller-in-plugin/87368/1 "2018-05-13T14:28:42Z")

</div>

Good day. First of all, sry for bad English. I’m noob in discourse and i’m writing a small plugin to change the invite page. I understand how to change .hbs file, but i don’t know how to change invite.js.es6 file. I wanna add two functions to this file) THX!

---

<div class="post-metadata">

**Author:** ![nikitabytsko](https://avatars.discourse-cdn.com/v4/letter/n/9de0a6/32.png) [@nikitabytsko](https://meta.discourse.org/u/nikitabytsko)\
**Post date:** [2018年五月15日 06:21 UTC](https://meta.discourse.org/t/rewriting-an-invite-page-ember-js-controller-in-plugin/87368/2 "2018-05-15T06:21:33Z")

</div>

Help me please guys(

---

<div class="post-metadata">

**Author:** ![Mittineague](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mittineague/32/114259_2.png) [@Mittineague](https://meta.discourse.org/u/Mittineague)\
**Post date:** [2018年五月15日 06:31 UTC](https://meta.discourse.org/t/rewriting-an-invite-page-ember-js-controller-in-plugin/87368/3 "2018-05-15T06:31:25Z")

</div>

There are a few things you can do that would help others be better able to help you.

- post a link to your repo so others can see what code you have so far
- explain what you’ve tried so far that didn’t work, including any error messages, if any, that you got
- explain in more detail exactly what it is you want to do
