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

9 lines
180 B
JavaScript

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