Fixed network.id used instead of network.slug issue (added regex to modify route).