def index(options={}, &block)
      super do |success, failure|
        success.json { render json: get_collection_ivar.as_json(json_config(:index)) }
        success.csv  { render csv:  get_collection_ivar }
      end
    end
def index(options={}, &block)
      super do |success, failure|
        success.json { render json: get_collection_ivar.as_json(json_config(:index)) }
        success.csv  { render csv:  get_collection_ivar }
      end
    end
GET /resources