Construct uri using uri_for, which respects X-Request-Base.

Created by  Michael Mortensen  on February 17, 2016
ABVOFHCVFGVFMTDOI4JZ3G7577NBXYHUKUR3LZBQFXFKYQMKGIFAC
Change contents