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