apotonick/apotomo — Issue #49: render :json
Author: atambo
Created: 2011-11-14 18:40:41+00:00
State: open

When calling render :json => @object in a Apotomo::Widget it looks for a template of format .json instead of calling .to_json on the object and setting the content_type to "application/json" like a regular controller would do.