1
0
mirror of https://github.com/flarum/core.git synced 2025-01-18 06:38:25 +01:00

Fix logout action

This commit is contained in:
Toby Zerner 2015-02-13 11:47:58 +10:30
parent c99ee1c5d5
commit 82b1107db6

View File

@ -17,7 +17,7 @@ export default DropdownButton.extend(HasItemLists, {
this.addActionItem(items, 'settings', 'Settings', 'cog');
this.addSeparatorItem(items);
this.addActionItem(items, 'logout', 'Log Out', 'sign-out', null, function() {
self.sendAction('logout');
self.get('logout')();
});
}
})