mirror of
https://github.com/discourse/discourse.git
synced 2025-09-06 10:50:21 +08:00
Revert "Revert "REFACTOR: support booting discourse with DISCOURSE_NO_CONSTANTS""
This reverts commit c21457d6a7
.
This commit is contained in:
parent
d8734fc542
commit
5c899c765b
99 changed files with 394 additions and 384 deletions
|
@ -1,4 +1,5 @@
|
|||
import debounce from 'discourse/lib/debounce';
|
||||
import Permalink from 'admin/models/permalink';
|
||||
|
||||
export default Ember.ArrayController.extend({
|
||||
loading: false,
|
||||
|
@ -7,7 +8,7 @@ export default Ember.ArrayController.extend({
|
|||
show: debounce(function() {
|
||||
var self = this;
|
||||
self.set('loading', true);
|
||||
Discourse.Permalink.findAll(self.get("filter")).then(function(result) {
|
||||
Permalink.findAll(self.get("filter")).then(function(result) {
|
||||
self.set('model', result);
|
||||
self.set('loading', false);
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue