forgeplus/app/views/users/system_update.json.jbuilder

7 lines
195 B
Plaintext
Raw Permalink Normal View History

2020-03-09 00:40:16 +08:00
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