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