cfpb/sheer — pull request #60 by dpford (2014-08-18 21:27:57+00:00)
Title: Added type_for_url for more accurate permalinks

Before, when permalinks were created, they were using the rule dictated by the post type where the post was indexed in ES.

For example: if we have two post types, /a/ and /b/. We want to include a few of the /a/ posts in /b/, but their permalinks are showing up as /b/slug even though they are of type /a/.

Now if you send a 'type_for_url' into the hit_dict, the permalink will reflect the proper type.