app/controllers/digital_assets_controller.rb in daengine-0.6.3 vs app/controllers/digital_assets_controller.rb in daengine-0.6.4
- old
+ new
@@ -45,11 +45,10 @@
updated_time = Hash.new
ids.each do |id|
da = DigitalAsset.where(:digital_asset_id => id)
updated_time[id] = da[0].doc_changed_at if da.present?
end
- # render json: updated_time.to_json, status: :ok
- respond_with(updated_time)
+ render json: updated_time.to_json, status: :ok
end
def fund_docs
@digital_assets = []
fund_doctypes = {:doctype => [