67P / hyperchannel

Kosmos Chat for the Web
Mozilla Public License 2.0
20 stars 3 forks source link

Fix redirects causing duplicate setup method calls #248

Closed galfert closed 3 years ago

galfert commented 3 years ago

Triggering a transition from the beforeModel method in the application route will cause the beforeModel method to be called again on the next transition. Moving the transition call to the redirect method fixes this.