|
|
|
@ -1,5 +1,6 @@
|
|
|
|
|
json.lives @lives do |live|
|
|
|
|
|
json.(live, :id, :url, :description, :on_status)
|
|
|
|
|
json.(live, :id, :description, :on_status)
|
|
|
|
|
json.url live.on_status ? live.url : ""
|
|
|
|
|
json.author_name live.user.show_real_name
|
|
|
|
|
json.author_login live.user.login
|
|
|
|
|
json.author_img url_to_avatar(live.user)
|
|
|
|
|