jetrouter
jetrouter copied to clipboard
Update route definition api to include 'before' function that verifies running conditions
Have the route definition include an optional 'before' function or something along those lines.
If defined this function should return a truthy value for the route callback to fire.