ADD common url with setting api

This commit is contained in:
jasder
2021-03-23 15:42:56 +08:00
parent 18ae3853d7
commit 815b364428
2 changed files with 14 additions and 2 deletions

View File

@@ -47,6 +47,7 @@ json.setting do
json.new_course default_course_links
json.old_projects_url @old_projects_url
json.add do
json.array! @add, :name, :url, :key
end
@@ -55,4 +56,7 @@ json.setting do
json.array! @personal
end
json.common do
json.array! @common
end
end