mirror of
https://github.com/codeninjasllc/discourse.git
synced 2025-05-01 00:18:02 -04:00
FIX: Redirect on some URLs to wrong path
This commit is contained in:
parent
cf102be953
commit
d8978cb4a0
1 changed files with 12 additions and 1 deletions
|
@ -9,7 +9,18 @@
|
||||||
Discourse.AdminUsersListRoute = Discourse.Route.extend({
|
Discourse.AdminUsersListRoute = Discourse.Route.extend({
|
||||||
renderTemplate: function() {
|
renderTemplate: function() {
|
||||||
this.render('admin/templates/users_list', {into: 'admin/templates/admin'});
|
this.render('admin/templates/users_list', {into: 'admin/templates/admin'});
|
||||||
},
|
}
|
||||||
|
});
|
||||||
|
|
||||||
|
/**
|
||||||
|
Index should just redirect to active
|
||||||
|
|
||||||
|
@class AdminUsersIndexRoute
|
||||||
|
@extends Discourse.Route
|
||||||
|
@namespace Discourse
|
||||||
|
@module Discourse
|
||||||
|
**/
|
||||||
|
Discourse.AdminUsersListIndexRoute = Discourse.Route.extend({
|
||||||
redirect: function() {
|
redirect: function() {
|
||||||
this.transitionTo('adminUsersList.active');
|
this.transitionTo('adminUsersList.active');
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue