Spiegel von
https://github.com/paviliondev/discourse-custom-wizard.git
synchronisiert 2024-11-26 02:50:28 +01:00
9 Zeilen
187 B
JavaScript
9 Zeilen
187 B
JavaScript
import Route from "@ember/routing/route";
|
|
|
|
export default Route.extend({
|
|
beforeModel(transition) {
|
|
if (transition.intent.params) {
|
|
this.transitionTo("wizard");
|
|
}
|
|
},
|
|
});
|