This repository has been archived on 2023-03-18. You can view files and clone it, but cannot push or open issues or pull requests.
osr-discourse-src/app/assets/javascripts/discourse/routes/signup_route.js

10 lines
235 B
JavaScript

Discourse.SignupRoute = Discourse.Route.extend({
beforeModel: function() {
this.transitionTo('discovery.latest').then(function(e) {
Ember.run.next(function() {
e.send('showCreateAccount');
});
});
}
});