That's probably not the clearest title ..

Essentially, what I want to do is run the path (e.g. '/sexypage') through a function, which will do some AR lookups. If a match is found, that function will handle a redirect, which is no problem, but if not I want the routes file to carry on looking for a match as normal.

Is this possible?