The attack was blamed on Islamist militants .