discourse/app/assets/javascripts/admin/routes/admin-customize-email-style...

11 lines
220 B
JavaScript

import Route from "@ember/routing/route";
export default Route.extend({
model() {
return this.store.find("email-style");
},
redirect() {
this.transitionTo("adminCustomizeEmailStyle.edit", "html");
}
});