# Dynamic Templates for plugin-outlet UIs

**URL:** https://meta.discourse.org/t/dynamic-templates-for-plugin-outlet-uis/59786
**Category:** Development
**Created:** [3월 23, 2017, 5:57오후 UTC](https://meta.discourse.org/t/dynamic-templates-for-plugin-outlet-uis/59786 "2017-03-23T17:57:31Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![eviltrout](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/eviltrout/32/5275_2.png) [@eviltrout](https://meta.discourse.org/u/eviltrout)
#### Post date: [3월 23, 2017, 6:10오후 UTC](https://meta.discourse.org/t/dynamic-templates-for-plugin-outlet-uis/59786/2 "2017-03-23T18:10:17Z")

</div>

As of our latest stable release, outlets can only receive access to the parameters passed into them, so you can’t access controller methods.

Instead you should use a [connector class](https://meta.discourse.org/t/important-changes-to-plugin-outlets-for-ember-2-10/54136) for your outlet. Additionally, you could just create a new ember component and use it in your connector – it should have `this.currentUser` to know about the current person who is logged in.

Taking it a step further, just in your template you should be able to say `{{currentUser.username}}` and find out things about your user in there too.

---

_[View the full topic](https://meta.discourse.org/t/dynamic-templates-for-plugin-outlet-uis/59786)._
