DEV: no need for conditional redirect in invites
This commit is contained in:
parent
9919f16041
commit
4ebf170fe4
|
@ -95,7 +95,7 @@ export default Ember.Controller.extend(
|
|||
result.message || I18n.t("invites.success")
|
||||
);
|
||||
if (result.redirect_to) {
|
||||
DiscourseURL.redirectTo(result.redirect_to || "/");
|
||||
DiscourseURL.redirectTo(result.redirect_to);
|
||||
}
|
||||
} else {
|
||||
if (
|
||||
|
|
Loading…
Reference in New Issue