mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-12-01 11:28:15 -05:00
17 lines
339 B
JavaScript
17 lines
339 B
JavaScript
(function() {
|
|
|
|
/**
|
|
Handles routes related to users.
|
|
|
|
@class AdminUserRoute
|
|
@extends Discourse.Route
|
|
@namespace Discourse
|
|
@module Discourse
|
|
**/
|
|
Discourse.AdminUserRoute = Discourse.Route.extend({
|
|
model: function(params) {
|
|
return Discourse.AdminUser.find(params.username);
|
|
}
|
|
});
|
|
|
|
}).call(this);
|