cfpb / regulations-site

(DEPRECATED) Web interface for viewing U.S. federal regulations and other regulatory information
Other
28 stars 43 forks source link

Incorrect interp url in navbar on ajax nav #810

Open jmcarp opened 8 years ago

jmcarp commented 8 years ago

I'm not sure what the scope of this issue is, but here's a set of steps that reproduces the error:

For some reason, the url we're pushing to the browser history is

http://www.consumerfinance.gov/eregulations/1005-Subpart-A-In#1005-Subpart-A-Interp

but should be

http://www.consumerfinance.gov/eregulations/1005-Subpart-A-Interp/2014-20681#1005-2-a-Interp-1

FWIW, this seems to work correctly on https://github.com/eregs/regulations-site.