FIX: Back button was broken after clicking flags in hamburger

This commit is contained in:
Robin Ward 2017-02-28 13:53:48 -05:00
parent 122fb8025d
commit e863d66e33
2 changed files with 2 additions and 2 deletions

View File

@ -1,5 +1,5 @@
export default Discourse.Route.extend({
redirect: function() {
redirect() {
this.replaceWith('adminFlags.list', 'active');
}
});

View File

@ -36,7 +36,7 @@ export default createWidget('hamburger-menu', {
const { currentUser } = this;
const links = [{ route: 'admin', className: 'admin-link', icon: 'wrench', label: 'admin_title' },
{ route: 'adminFlags',
{ href: '/admin/flags/index',
className: 'flagged-posts-link',
icon: 'flag',
label: 'flags_title',