# Extendeer Applicatie-acties om showUserCard toe te voegen

**URL:** https://meta.discourse.org/t/extend-application-actions-to-add-showusercard/166222
**Category:** Development
**Created:** [4 oktober 2020 om 22:02 UTC](https://meta.discourse.org/t/extend-application-actions-to-add-showusercard/166222 "2020-10-04T22:02:03Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![sonicb](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sonicb/32/186395_2.png) [@sonicb](https://meta.discourse.org/u/sonicb)
#### Post date: [4 oktober 2020 om 22:02 UTC](https://meta.discourse.org/t/extend-application-actions-to-add-showusercard/166222/1 "2020-10-04T22:02:04Z")

</div>

I am creating a custom user menu tab in the burger-bar, similar to the [Discourse User Menu Tab theme component](https://github.com/awesomerobot/discourse-user-menu-tab) and would like to add an item that displays the current user card component. I have the item defined like so:

```
  {
    icon: "eye",
    action: "showUserCard",
    content: "View profile",
    className: "view-profile",
  }

```

I’ve got the menu displaying as I would like, just need to work out how to add the action. I’m guessing I need to use the API to extend app/routes/application.js? I’m rather new to Ember.js so still figuring my way around. Thanks!
