Files
gitlink-forgeplus/app/views/users/system_update.json.jbuilder
2020-03-09 00:40:16 +08:00

7 lines
195 B
Ruby

if @notice && @notice.end_time > Time.now
json.system_update true
json.system_score @notice.notes.rstrip
json.(@notice, :subject, :start_time, :end_time)
else
json.system_update false
end