created temporary prerender2 function in My_Controller

inventory item listing is now working