discourse/app/assets/javascripts/admin/routes/admin_routes.js.coffee
2013-02-05 14:16:51 -05:00

18 lines
625 B
CoffeeScript

Discourse.buildRoutes ->
@resource 'admin', path: '/admin', ->
@route 'dashboard', path: '/'
@route 'site_settings', path: '/site_settings'
@route 'email_logs', path: '/email_logs'
@route 'customize', path: '/customize'
@resource 'adminFlags', path: '/flags', ->
@route 'active', path: '/active'
@route 'old', path: '/old'
@resource 'adminUsers', path: '/users', ->
@resource 'adminUser', path: '/:username'
@resource 'adminUsersList', path: '/list', ->
@route 'active', path: '/active'
@route 'new', path: '/new'
@route 'pending', path: '/pending'