git removed public/index and generated controller staticpages with index method