discourse/app/assets/javascripts/admin/routes/admin_site_settings_route.js
2013-02-26 07:31:35 +03:00

17 lines
436 B
JavaScript

/**
Handles routes related to viewing and editing site settings.
@class AdminSiteSettingsRoute
@extends Discourse.Route
@namespace Discourse
@module Discourse
**/
Discourse.AdminSiteSettingsRoute = Discourse.Route.extend({
model: function() {
return Discourse.SiteSetting.findAll();
},
renderTemplate: function() {
this.render('admin/templates/site_settings', {into: 'admin/templates/admin'});
}
});