alphagov/whitehall — pull request #1215 by JordanHatch (2014-01-14 11:23:18+00:00)
Title: Push industry sectors to Panopticon for detailed guides

This changes the Panopticon registration rake task so that, when we register a detailed guide, we tag it with the correct industry sector tag based on its mainstream browse category.

At the present time, only mainstream browse categories which have a parent tag of `oil-and-gas` will be tagged with an industry sector. We derive the correct tag id by pulling parts out of the mainstream category slug.