mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-12-04 12:51:41 -05:00
6 lines
235 B
CoffeeScript
6 lines
235 B
CoffeeScript
|
Discourse.AdminFlagsOldRoute = Discourse.Route.extend
|
||
|
model: -> Discourse.FlaggedPost.findAll('old')
|
||
|
setupController: (controller, model) ->
|
||
|
c = @controllerFor('adminFlags')
|
||
|
c.set('content', model)
|
||
|
c.set('query', 'old')
|