Fix redirect when inside an engine
Merge pull request #168 from neighborly/jl-fix-redirect-for-engines

Fix redirect when inside an engine