Commit 6e67e397 authored by Matthew Taylor's avatar Matthew Taylor

Revert "Attempt 2 – reprioritize header conditionals"

This reverts commit 1ee9358b.
parent 1ee9358b
......@@ -94,8 +94,8 @@ var getConditionNameForRoute = function (route, type) {
};
var getHeaderNameForRoute = function (route) {
if (route.redirect) return 'redirects/' + route.pattern;
if (route.name) return 'rewrites/' + route.name;
if (route.redirect) return 'redirects/' + route.pattern;
};
var getResponseNameForRoute = function (route) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment