mirror of
https://gitlink.org.cn/Gitlink/forgeplus.git
synced 2026-05-04 04:03:25 +08:00
change site page response
This commit is contained in:
@@ -1 +0,0 @@
|
||||
json.partial! 'info', locals: {page: @page}
|
||||
6
app/views/site_pages/show.json.jbuilder
Normal file
6
app/views/site_pages/show.json.jbuilder
Normal file
@@ -0,0 +1,6 @@
|
||||
json.status 0
|
||||
json.message "success"
|
||||
json.data {
|
||||
json.partial! 'info', locals: {page: @page}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user