mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-12-22 05:22:33 -05:00
17 lines
436 B
JavaScript
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'});
|
|
}
|
|
});
|