Change logic in invites#show action