Minor change

Changed render to redirect_to on deletelocal method