mirror of
https://github.com/discourse/discourse.git
synced 2024-11-29 00:04:11 +08:00
20 lines
491 B
JavaScript
20 lines
491 B
JavaScript
/**
|
|
Handles routes related to customization
|
|
|
|
@class AdminCustomizeRoute
|
|
@extends Discourse.Route
|
|
@namespace Discourse
|
|
@module Discourse
|
|
**/
|
|
Discourse.AdminCustomizeRoute = Discourse.Route.extend({
|
|
|
|
renderTemplate: function() {
|
|
this.render({into: 'admin/templates/admin'});
|
|
},
|
|
|
|
setupController: function(controller, model) {
|
|
// in case you are wondering, model never gets called for link_to
|
|
controller.set('content',Discourse.SiteCustomization.findAll());
|
|
}
|
|
});
|