Fixes #6146 BZ1105623: Fixing undefined method call

Fix undefined call to "get_content_view_environment_by_cp_id" in systems
controller.