# File 'app/controllers/wco_email/api/conversations_controller.rb', line 4defdestroy_manyauthorize!:edit,WcoEmail::Conversation@convs=WcoEmail::Conversation.find(params[:ids])@convs.each{|c|c.destroy!}renderjson:{status:'ok',message:'probably ok'}end
#index ⇒ Object
11
12
13
14
# File 'app/controllers/wco_email/api/conversations_controller.rb', line 11defindexauthorize!:index,WcoEmail::Conversation@conversations,@messages,@tag=WcoEmail::Conversation.load_conversations_messages_tag_by_params_and_profile(params,current_profile)end