mirror of
https://github.com/discourse/discourse.git
synced 2024-12-14 00:33:49 +08:00
6515ff19e5
* FEATURE: Allow customization of robots.txt This allows admins to customize/override the content of the robots.txt file at /admin/customize/robots. That page is not linked to anywhere in the UI -- admins have to manually type the URL to access that page. * use Ember.computed.not * Jeff feedback * Feedback * Remove unused import
8 lines
144 B
JavaScript
8 lines
144 B
JavaScript
import { ajax } from "discourse/lib/ajax";
|
|
|
|
export default Ember.Route.extend({
|
|
model() {
|
|
return ajax("/admin/customize/robots");
|
|
}
|
|
});
|