discourse/app/assets/javascripts/admin/routes/admin_user_route.js.coffee

2 lines
112 B
CoffeeScript

Discourse.AdminUserRoute = Discourse.Route.extend
model: (params) -> Discourse.AdminUser.find(params.username)