1
0
mirror of https://github.com/flarum/core.git synced 2025-08-06 08:27:42 +02:00

Fix user dropdown links

This commit is contained in:
Toby Zerner
2015-03-12 10:39:40 +10:30
parent 4804d95b37
commit 9891e5af18
2 changed files with 18 additions and 4 deletions

View File

@@ -90,7 +90,7 @@ export default Ember.View.extend(HasItemLists, {
if (this.get('controller.session.isAuthenticated')) {
items.pushObjectWithTag(UserDropdown.extend({
user: this.get('controller.session.user'),
logout: function() { controller.send('invalidateSession'); }
parentController: controller
}), 'user');
} else {
this.addActionItem(items, 'signup', 'Sign Up').reopen({className: 'btn btn-link'});