projectblacklight/blacklight — pull request #761 by cbeer (2014-02-07 22:01:09+00:00)
Title: Add blacklight configuration for registering additional response formats...

... for the #index action

Options include:

- do the default
```
config.index.respond_to.yaml = true
```
- don't render the format
```
config.index.respond_to.yaml = true
```
- options for render
```
config.index.respond_to.yaml = { layout: 'custom-layout' }
```
- custom proc to render
```
config.index.respond_to.yaml = lambda { render text: "stuff" }
```
- controller method to render
```
config.index.respond_to.yaml = :my_custom_yaml_serialization
```