Fix an issue that controller generator adds route into wrong point of routes.go