make directory redirects optional #398

wants to merge 1 commit into


None yet

2 participants


optionally stop redirecting directories to new path, allows node to dynamically render paths which are directories.

current behavior is matched.
/images redirects to /images/

with passed in parameter
/images called next() which lets node render a page

@tj tj added a commit that closed this pull request Oct 24, 2011
@tj tj Added `static()` redirect option. Closes #398 71d2f3c
@tj tj closed this in 71d2f3c Oct 24, 2011
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment