Dynamic Routes Question

Yes, you are right, it didn’t test this with the split() function. What I did, was doing this in a starterkit, which works perfectly.

$patterns = page('projects')->children()->pluck('tags', ',', true);
c::set('routes', array(
  array(
    'pattern' => $patterns,
    'action'  => function() {
      return page('contact');
    }
  )
));

Just wondering why it does not work with split. In your case, you could also pluck the categories from the child pages though, which would avoid using tags that are not used.