]> git.openstreetmap.org Git - rails.git/blob - app/views/note/_note_comment.json.erb
405a87dcb1c6230291a2fb1a3224a149db4c3095
[rails.git] / app / views / note / _note_comment.json.erb
1 {
2   "date": "<%= note_comment.created_at %>",
3 <% unless note_comment.author_id.nil? -%>
4   "uid": <%= note_comment.author_id %>,
5 <% end -%>
6   "user": "<%= note_comment.author_name %>",
7   "text": "<%= note_comment.body %>"
8 }