removed public index view and generatored a controller with index action and view