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

6 lines
145 B
JavaScript

Discourse.AdminCustomizeIndexRoute = Discourse.Route.extend({
beforeModel: function() {
this.replaceWith('adminCustomize.colors');
}
});