implement xml response for legacy post create action
This commit is contained in:
4
app/views/legacy/create_post.xml.erb
Normal file
4
app/views/legacy/create_post.xml.erb
Normal file
@@ -0,0 +1,4 @@
|
||||
<response>
|
||||
<post_id>0</post_id>
|
||||
<location>http://<%= Danbooru.config.hostname %>/uploads/<%= @upload.id %></location>
|
||||
</response>
|
||||
Reference in New Issue
Block a user