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

9 lines
181 B
JavaScript

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