voxdolo/decent_exposure — pull request #69 by lazylodr (2012-12-02 08:19:11+00:00)
Title: Exposure Refinements

Adds an instance method to the controller named #refine that allows you to alter the default exposure value in an action. Adding custom logic for a specific action to the exposure itself (using a block or otherwise) is a very broad stroke, as the customization may not apply to every action in the controller. For example, a controller exposes people and has index and search actions. Index can use the people exposure as-is, and search can simply refine the people exposure to perform the search based on the params. Specs and an readme documentation is included.

Thanks for all of your work on this so far.