mirror of
https://gitlink.org.cn/Gitlink/forgeplus.git
synced 2026-05-09 06:24:04 +08:00
init project
This commit is contained in:
6
app/views/courses/mine.json.jbuilder
Normal file
6
app/views/courses/mine.json.jbuilder
Normal file
@@ -0,0 +1,6 @@
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user