discourse/app/assets/javascripts/admin/routes/admin_site_settings_route.js

17 lines
367 B
JavaScript

(function() {
/**
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();
}
});
}).call(this);