Until the advent to power of President Recep Erdogan and his Justice and Development Party, the Muslim nation of Turkey had created a balance between civil rights and religious rights. Although a majority of Muslims in Turkey are Sunni there are minor Muslim groups, Christians and Jews along with a sizable number of Muslims who are really not that religious. Once assuming power Erdogan did end the power of the Turkish military to interfere in the political process. However, he also moved to impose greater and greater religious ideas throughout the school system, the judiciary, and the world of politics. With each passing day there are steady changes in Turkey such as imposing required religious classes in school which are controlled by imams who support the government.
President Erdogan issued a challenge to his political enemies and argued the reason there was no ISIS or Boko Haram was due to his fight to expand religious education and practice in Turkey. One has nothing to do with the other. Turkish Muslims inhabit a society with a booming economy and have no interest in crazy imams urging a jihad or suicide bombers. Create a dynamic economy, have the semblance of democracy and few seek ISIS.