Skip to content
Snippets Groups Projects

Fix issue with endless redirect

All threads resolved!
Files
2
@@ -82,12 +82,11 @@ def update_success_path
@@ -82,12 +82,11 @@ def update_success_path
if registering_from_invite?(members)
if registering_from_invite?(members)
flash[:notice] = helpers.invite_accepted_notice(members.last)
flash[:notice] = helpers.invite_accepted_notice(members.last)
members_activity_path(members)
return members_activity_path(members)
else
# subscription registrations goes through here as well
finish_onboarding_if_in_subscription_flow
path_for_signed_in_user(current_user)
end
end
 
 
# subscription registrations goes through here as well
 
path_for_signed_in_user(current_user)
end
end
# overridden in EE
# overridden in EE
@@ -103,9 +102,6 @@ def track_event(action); end
@@ -103,9 +102,6 @@ def track_event(action); end
def welcome_update_params
def welcome_update_params
{}
{}
end
end
# overridden in EE
def finish_onboarding_if_in_subscription_flow; end
end
end
end
end
Loading