mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-25 00:29:30 -05:00
a2cca2540e
fix issue where days_visited was totally out of sync
17 lines
428 B
JavaScript
17 lines
428 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'});
|
|
}
|
|
});
|