Commit 3e94afa39eb60b11dba8d9a72ad4c58eb1f7c9b8
1 parent
73d01160
Exists in
web_steps_improvements
and in
8 other branches
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 |