Commit 3e94afa39eb60b11dba8d9a72ad4c58eb1f7c9b8

Authored by Victor Costa
1 parent 73d01160

api: expose the article type

Showing 1 changed file with 1 additions and 0 deletions   Show diff stats
lib/noosfero/api/entities.rb
@@ -174,6 +174,7 @@ module Noosfero @@ -174,6 +174,7 @@ module Noosfero
174 expose :followers_count 174 expose :followers_count
175 expose :votes_count 175 expose :votes_count
176 expose :comments_count 176 expose :comments_count
  177 + expose :type
177 end 178 end
178 179
179 class Article < ArticleBase 180 class Article < ArticleBase