mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-12-02 20:07:52 -05:00
19 lines
491 B
JavaScript
19 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());
|
|
}
|
|
});
|