Change /type/:type route to /summary/type/:type