Commit 4e3a802d730a303fdade52312a98d73dce449fad
Exists in
theme-brasil-digital-from-staging
and in
9 other branches
Merge branch 'api' into stable
Showing
1 changed file
with
3 additions
and
1 deletions
Show diff stats
lib/noosfero/api/entities.rb
... | ... | @@ -55,7 +55,9 @@ module Noosfero |
55 | 55 | |
56 | 56 | class ArticleBase < Entity |
57 | 57 | root 'articles', 'article' |
58 | - expose :id, :body, :abstract | |
58 | + expose :id | |
59 | + expose :body | |
60 | + expose :abstract | |
59 | 61 | expose :created_at, :format_with => :timestamp |
60 | 62 | expose :title, :documentation => {:type => "String", :desc => "Title of the article"} |
61 | 63 | expose :created_by, :as => :author, :using => Profile | ... | ... |