2013-02-22 15:41:12 -05:00
|
|
|
/**
|
|
|
|
Handles routes related to customization
|
2013-02-20 13:15:50 -05:00
|
|
|
|
2013-04-30 00:01:34 -04:00
|
|
|
@class AdminCustomizeRoute
|
2013-02-22 15:41:12 -05:00
|
|
|
@extends Discourse.Route
|
|
|
|
@namespace Discourse
|
|
|
|
@module Discourse
|
2013-04-30 00:01:34 -04:00
|
|
|
**/
|
2013-02-22 15:41:12 -05:00
|
|
|
Discourse.AdminCustomizeRoute = Discourse.Route.extend({
|
2013-02-21 14:09:28 -05:00
|
|
|
|
2013-04-30 00:01:34 -04:00
|
|
|
renderTemplate: function() {
|
2013-02-22 15:41:12 -05:00
|
|
|
this.render({into: 'admin/templates/admin'});
|
2013-04-30 00:01:34 -04:00
|
|
|
},
|
|
|
|
|
|
|
|
setupController: function(controller, model) {
|
|
|
|
// in case you are wondering, model never gets called for link_to
|
|
|
|
controller.set('content',Discourse.SiteCustomization.findAll());
|
2013-02-22 15:41:12 -05:00
|
|
|
}
|
|
|
|
});
|