Update index.erb

Add back in switch