mirror of
https://github.com/discourse/discourse.git
synced 2024-11-25 05:02:24 +08:00
7 lines
170 B
JavaScript
7 lines
170 B
JavaScript
export default Ember.Controller.extend({
|
|
titleSorting: ['title'],
|
|
emailTemplates: null,
|
|
|
|
sortedTemplates: Ember.computed.sort('emailTemplates', 'titleSorting')
|
|
});
|