小类别描述

dev_aliyun_beta
daiao 5 years ago
parent b47e8ab58c
commit 8dbaf05da2

@ -428,7 +428,7 @@ class ApplicationController < ActionController::Base
list = []
mirrors = MirrorRepository.select([:id, :type_name]).published_small_mirror
mirrors.try(:each) do |mirror|
list << {id: mirror.id, type_name: mirror.type_name}
list << {id: mirror.id, type_name: mirror.type_name, description: mirror.description}
end
list
end

Loading…
Cancel
Save