added legacy api for posts
This commit is contained in:
1
app/views/legacy/posts.json.erb
Normal file
1
app/views/legacy/posts.json.erb
Normal file
@@ -0,0 +1 @@
|
||||
[<%= @posts.map {|x| x.to_legacy_json}.join(", ").html_safe %>]
|
||||
Reference in New Issue
Block a user