# Is the route /users/:username different for different actions?

**URL:** https://meta.discourse.org/t/is-the-route-users-username-different-for-different-actions/42205
**Category:** Development
**Created:** [Avril 7, 2016, 11:35 UTC](https://meta.discourse.org/t/is-the-route-users-username-different-for-different-actions/42205 "2016-04-07T23:35:00Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![stevenpslade](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/stevenpslade/32/53550_2.png) [@stevenpslade](https://meta.discourse.org/u/stevenpslade)
#### Post date: [Avril 7, 2016, 11:35 UTC](https://meta.discourse.org/t/is-the-route-users-username-different-for-different-actions/42205/1 "2016-04-07T23:35:00Z")

</div>

I am trying to change the default view of profile from `/activity` to `/summary`.

The route sending users to profile is `/users/:username/` which is most commonly used for the avatar drop-down link to the profile and also the user badge card when click on a user avatar anywhere in Discourse.

For the the user badge card, it is a `this.transitionTo('userActivity');` in `app/javascript/discourse/routes/user-index.js.es6`. ~~As a hack I was going to change the `transitionTo` to `/users/my/summary/`.~~

However, it seems as though this change does not effect the avatar drop-down nav route (which is still `users/:username` but for some reason still redirects to `/users/:username/activity/`.

Thoughts on a better way to do this or how to change all routes of `/users/:username/` to redirect to `/summary`? 🚀

---

<div class="post-metadata">

### Author: ![stevenpslade](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/stevenpslade/32/53550_2.png) [@stevenpslade](https://meta.discourse.org/u/stevenpslade)
#### Post date: [Avril 8, 2016, 5:11 UTC](https://meta.discourse.org/t/is-the-route-users-username-different-for-different-actions/42205/2 "2016-04-08T17:11:59Z")

</div>

Oh wow just realizing my hack of `users/my/summary/` makes zero sense. 😱 That would just take you to the current\_users profile every time you wanted to see someone else’s profile. Oops.

So basically I have no idea how to change to default route of `users/:username` to `users/:username/summary/` 😰
