I think just make this: render( params[:item] || :atom)

The rest seems to be good.  I can just override content with that change, but I think it should be in the standard code.