added legacy api for posts

This commit is contained in:
albert
2011-12-22 12:39:27 -05:00
parent 67264f8a51
commit 7aca7f3e2f
5 changed files with 57 additions and 1 deletions

View File

@@ -0,0 +1 @@
[<%= @posts.map {|x| x.to_legacy_json}.join(", ").html_safe %>]