noosfero | Implemented invite members to community (!1164)
Victor Costa
gitlab at mg.gitlab.com
Fri Apr 7 16:48:09 BRT 2017
New comment for Merge Request !1164 on app/api/v1/communities.rb:
https://gitlab.com/noosfero/noosfero/merge_requests/1164#note_27079560
> end
>
> get ':id' do
> + puts "Get:ID #{params[:id]} => params #{params}"
> community = profiles_for_person(environment.communities, current_person).find_by_id(params[:id])
> not_found! unless community.present?
> present_partial community, :with => Entities::Community, :current_person => current_person, :params => params
> end
>
> + post '/:id/invite' do
> + community = Community.find(params[:id])
> + contacts_to_invite = params[:contacts]
please remove this line
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listas.softwarelivre.org/pipermail/noosfero-dev/attachments/20170407/da4087d4/attachment.html>
More information about the Noosfero-dev
mailing list