mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
fix unit tests
This commit is contained in:
@@ -10,7 +10,7 @@ Discourse.SiteContentType = Discourse.Model.extend({});
|
||||
|
||||
Discourse.SiteContentType.reopenClass({
|
||||
findAll: function() {
|
||||
promise = new Em.Deferred();
|
||||
var promise = new Em.Deferred();
|
||||
Discourse.ajax("/admin/site_content_types").then(function(data) {
|
||||
var contentTypes = Em.A();
|
||||
data.forEach(function (ct) {
|
||||
|
||||
Reference in New Issue
Block a user