Fix hits pagination links

I think these have been broken since we upgraded to Rails 4.x and the way that
these routes were implemented was no longer supported.

This way is less code, less metaprogramming and easier to follow.

This bug drove me nuts when trying to add missing mappings to Directgov, I assume it does the same for other users.
I think the nested `if`s here will be unpopular with @rgarner, but he's on holiday :sunglasses: :trollface: