alphagov/whitehall — pull request #4 by tomstuart (2012-02-28 10:21:34+00:00)
Title: Fix highlighting of "Consultations" in main navigation

Broken by 4b5f57045a90b5957794a4dcef917a8c63ca137a.

This is a band-aid over the underlying problem that there are no tests keeping `current_main_navigation_path` in sync with the contents of the `#global-nav` element in `website.html.erb`.

I haven't fixed that here since it requires a decision about whether to simply write such tests against the current code, or rewrite that code to remove duplication between `#global-nav` and the helper (e.g. use params instead of named route helpers in the `main_navigation_link_to` calls in `#global-nav`), or both.