mirror of
https://github.com/discourse/discourse.git
synced 2025-06-03 02:48:28 +08:00
Select +Replies for bulk operations
This commit is contained in:
@ -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 ); }
|
||||
|
Reference in New Issue
Block a user