diff --git a/lib/noosfero/api/entities.rb b/lib/noosfero/api/entities.rb index 976db63..253a773 100644 --- a/lib/noosfero/api/entities.rb +++ b/lib/noosfero/api/entities.rb @@ -51,7 +51,7 @@ module Noosfero class ArticleChild < Grape::Entity root 'articles', 'article' - expose :id, :body + expose :id, :body, :abstract expose :created_at, :format_with => :timestamp expose :title, :documentation => {:type => "String", :desc => "Title of the article"} expose :created_by, :as => :author, :using => Profile @@ -62,7 +62,7 @@ module Noosfero class Article < Grape::Entity root 'articles', 'article' - expose :id, :body + expose :id, :body, :abstract expose :created_at, :format_with => :timestamp expose :title, :documentation => {:type => "String", :desc => "Title of the article"} expose :created_by, :as => :author, :using => Profile -- libgit2 0.21.2