Commit 1c90626d authored by Thiago Ribeiro's avatar Thiago Ribeiro Committed by Rodrigo Souto

Add attribute admin username in community via api

parent 2523891c
......@@ -119,7 +119,7 @@ module Noosfero
root 'communities', 'community'
expose :description
expose :admins do |community, options|{|admin| {"name"=>, "id"=>}}{|admin| {"name"=>, "id"=>, "username" => admin.identifier}}
expose :categories, :using => Category
expose :members, :using => Person
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment