app/controllers/apicasso/crud_controller.rb in apicasso-0.7.0 vs app/controllers/apicasso/crud_controller.rb in apicasso-0.7.1

- old
+ new

@@ -133,11 +133,11 @@ def index_json if params[:group].present? @records.group(params[:group][:by].split(',')) .send(:calculate, params[:group][:calculate], - params[:group][:fields]) - else + params[:group][:field]) + else collection_response end end # The response for show action, which can be a fieldset