2
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2025-09-07 12:02:53 +08:00

Select +Replies for bulk operations

This commit is contained in:
Robin Ward 2013-09-04 11:53:00 -04:00
parent dba1d79de2
commit f157ec1f91
20 changed files with 282 additions and 77 deletions

View file

@ -14,6 +14,10 @@ function integration(name) {
});
}
function testController(klass, model) {
return klass.create({model: model, container: Discourse.__container__});
}
function controllerFor(controller, model) {
var controller = Discourse.__container__.lookup('controller:' + controller);
if (model) { controller.set('model', model ); }