mirror of
https://github.com/HackPlan/RootPanel.git
synced 2026-03-29 22:20:30 +08:00
13 lines
285 B
CoffeeScript
13 lines
285 B
CoffeeScript
api = require './index'
|
|
|
|
mAccount = require '../model/account'
|
|
|
|
module.exports =
|
|
get:
|
|
'/admin/': api.accountAdminAuthenticateRender (req, res, account, renderer) ->
|
|
mAccount.find {}, {}, (accounts) ->
|
|
renderer 'admin/index',
|
|
accounts: accounts
|
|
|
|
post:{}
|