cfpb / regulations-site

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

Properly fix subterp diff URL regex #838

Closed chosak closed 6 years ago

chosak commented 7 years ago

This change fixes a bug introduced by #836 that incorrectly passed section views to subterp views. It restores the previous section pattern and introduces a new section_or_subterp pattern that's used only for diff URLs.

grapesmoker commented 6 years ago

Confirmed that this works.