Class: Spree::Admin::MenuChatConversationsController

Inherits:
ResourceController
  • Object
show all
Defined in:
app/controllers/spree/admin/menu_chat_conversations_controller.rb

Overview

Read-only QA view of every logged chat conversation for the current store — same shape as Spree::Admin::SquareWebhookEventsController. Scoped to current_store automatically: ResourceController#scope calls model_class.for_store(current_store) when the model responds to it (see SpreeMenuChat::Conversation's for_store scope) — no override needed here.

Instance Method Summary collapse

Instance Method Details

#model_classObject



10
11
12
# File 'app/controllers/spree/admin/menu_chat_conversations_controller.rb', line 10

def model_class
  SpreeMenuChat::Conversation
end