mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-12-18 03:25:31 -05:00
6 lines
No EOL
244 B
CoffeeScript
6 lines
No EOL
244 B
CoffeeScript
Discourse.AdminFlagsActiveRoute = Discourse.Route.extend
|
|
model: -> Discourse.FlaggedPost.findAll('active')
|
|
setupController: (controller, model) ->
|
|
c = @controllerFor('adminFlags')
|
|
c.set('content', model)
|
|
c.set('query', 'active') |