renamed the view to index file