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