Class: WcoEmail::Api::ConversationsController

Inherits:
WcoEmail::ApiController
  • Object
show all
Defined in:
app/controllers/wco_email/api/conversations_controller.rb

Instance Method Summary collapse

Instance Method Details

#indexObject



4
5
6
7
# File 'app/controllers/wco_email/api/conversations_controller.rb', line 4

def index
  authorize! :index, WcoEmail::Conversation
  @conversations, @messages, @tag = WcoEmail::Conversation.load_conversations_messages_tag_by_params_and_profile( params, current_profile )
end