Spiegel von
https://github.com/paviliondev/discourse-custom-wizard.git
synchronisiert 2024-11-27 03:20:27 +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");
|
|
}
|
|
},
|
|
});
|