Preheat the oven to 180°C. Grease a 25cm round springform cake tin well with nonstick spray.
1. Filling Heat the oil in a large pan and stir-fry the onion and garlic until soft. Add the spices, beans and sweet potato and mix through. Season with the salt and pepper.
2. Mix in the fresh herbs and set aside.