Events+ & Membership2

Does anyone know of a way to have users rerouted to the Membership 2 registration page upon clicking the “I’m attending” button in an Event?

I’ve set up Membership 2 in order to restrict users from the backend of the site. However, the Event’s pages are still rerouting users to the regular WP registration page instead of the Membership 2 registration page.

Thanks in advance!