mirror of
https://gitlink.org.cn/Gitlink/forgeplus.git
synced 2026-05-03 20:00:49 +08:00
7 lines
183 B
Ruby
7 lines
183 B
Ruby
json.partial! "commons/success"
|
|
json.data @courses do |course|
|
|
json.(course, :id, :name, :updated_at, :end_date)
|
|
json.created_at course.created_at.strftime("%Y-%m-%d")
|
|
end
|
|
|