discourse/app/assets/javascripts/admin/routes/admin-customize-robots-txt....

8 lines
144 B
JavaScript

import { ajax } from "discourse/lib/ajax";
export default Ember.Route.extend({
model() {
return ajax("/admin/customize/robots");
}
});