Changed the route to have teacher.index as the root