mirror of
https://github.com/discourse/discourse.git
synced 2024-12-14 10:06:18 +08:00
67d5ce8ed1
Previously it would go to the "html" page when refreshing on the "css" page, and would open an invalid empty-state page when trying to go to the "email style" tab when already on it.
8 lines
162 B
JavaScript
8 lines
162 B
JavaScript
import Route from "@ember/routing/route";
|
|
|
|
export default Route.extend({
|
|
beforeModel() {
|
|
this.replaceWith("adminCustomizeEmailStyle.edit", "html");
|
|
}
|
|
});
|