mirror of
https://github.com/discourse/discourse.git
synced 2024-11-29 01:54:12 +08:00
22 lines
444 B
JavaScript
22 lines
444 B
JavaScript
(function() {
|
|
|
|
/**
|
|
Handles routes related to customization
|
|
|
|
@class AdminCustomizeRoute
|
|
@extends Discourse.Route
|
|
@namespace Discourse
|
|
@module Discourse
|
|
**/
|
|
Discourse.AdminCustomizeRoute = Discourse.Route.extend({
|
|
model: function() {
|
|
return Discourse.SiteCustomization.findAll();
|
|
},
|
|
|
|
renderTemplate: function() {
|
|
this.render({into: 'admin/templates/admin'});
|
|
}
|
|
});
|
|
|
|
}).call(this);
|