2013-02-23 04:41:12 +08:00
|
|
|
/**
|
|
|
|
Handles routes related to customization
|
2013-02-21 02:15:50 +08:00
|
|
|
|
2013-04-30 12:01:34 +08:00
|
|
|
@class AdminCustomizeRoute
|
2013-02-23 04:41:12 +08:00
|
|
|
@extends Discourse.Route
|
|
|
|
@namespace Discourse
|
|
|
|
@module Discourse
|
2013-04-30 12:01:34 +08:00
|
|
|
**/
|
2013-02-23 04:41:12 +08:00
|
|
|
Discourse.AdminCustomizeRoute = Discourse.Route.extend({
|
2013-02-22 03:09:28 +08:00
|
|
|
|
2013-05-21 03:27:58 +08:00
|
|
|
model: function() {
|
|
|
|
return Discourse.SiteCustomization.findAll();
|
2013-04-30 12:01:34 +08:00
|
|
|
},
|
|
|
|
|
2013-05-21 03:27:58 +08:00
|
|
|
renderTemplate: function() {
|
|
|
|
this.render({into: 'admin/templates/admin'});
|
2013-02-23 04:41:12 +08:00
|
|
|
}
|
2013-05-21 03:27:58 +08:00
|
|
|
|
2013-02-23 04:41:12 +08:00
|
|
|
});
|