Use public_id in controller redirects