Commit 5825b59f88f8c4f27474301f81d52fbc8302f51b

Authored by Victor Costa
Committed by Rodrigo Souto
1 parent a0f1b768

api: return vote data for articles

Showing 1 changed file with 2 additions and 0 deletions   Show diff stats
lib/noosfero/api/entities.rb
... ... @@ -64,6 +64,8 @@ module Noosfero
64 64 expose :profile, :using => Profile
65 65 expose :categories, :using => Category
66 66 expose :image, :using => Image
  67 + expose :votes_for
  68 + expose :votes_against
67 69 end
68 70  
69 71 class Article < ArticleBase
... ...