Heat oil in a kadhai or pan at medium to high heat. Once hot, bring the heat down to medium. Add bay leaves, cumin seeds and saute it until it turns brown. Add chopped onion, ginger-garlic paste and a little salt. Saute it further for about 10-12 minutes at medium heat until the onion gets golden brown.