Rebuild routes via model