fabrik42/acts_as_api — Issue #43: Extra parameters to render
Author: donkike
Created: 2011-11-04 18:47:00+00:00
State: open

Hi,

I first wanted to thank you for the great work here. I just discovered this gem a couple of days ago and I got amazed as it seems exactly what I needed.

Or almost... I just came to one problem: I have to render the response according to some parameters in the request. In a specific case, I have a model with a `description` attribute that can be rendered in multiple languages, so I need to find a way of passing the `params[:locale]` to the renderer.

I haven't found a way to do this or maybe I'm not seeing clearly. Can you please point me in the right direction?

Thanks!