mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-28 10:08:20 -05:00
19 lines
376 B
JavaScript
19 lines
376 B
JavaScript
/**
|
|
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'});
|
|
}
|
|
|
|
});
|