You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
368 B
12 lines
368 B
json.items @items.each do |item|
|
|
json.id item.id
|
|
json.partial! "item_banks/item", locals: {item: item}
|
|
json.update_time item.updated_at&.strftime("%Y-%m-%d %H:%M")
|
|
json.choosed @item_basket_ids.include?(item.id)
|
|
json.apply item.apply?
|
|
json.author do
|
|
json.login item.user&.login
|
|
json.name item.user&.full_name
|
|
end
|
|
end
|
|
json.items_count @items_count |