discourse/app/assets/javascripts/admin/routes/admin-site-text-edit.js.es6

5 lines
130 B
JavaScript

export default Discourse.Route.extend({
model: function(params) {
return Discourse.SiteText.find(params.text_type);
}
});