display :only => [:lat, :lng] do # some heavy lifting calculating the entity detouched from controller # then calls to_json, for instance, on calculated result end |
display :only => [:lat, :lng] do # some heavy lifting calculating the entity detouched from controller # then calls to_json, for instance, on calculated result end |