Skip to content
This repository has been archived by the owner on Aug 16, 2024. It is now read-only.

Commit

Permalink
fix: Listeners for Create Conversation controllers (#58)
Browse files Browse the repository at this point in the history
* Fix config to use listeners

* Remove old class

---------

Co-authored-by: Saul Wilcox <[email protected]>
  • Loading branch information
hobbyhacker0 and hobbyhacker0 authored Feb 2, 2024
1 parent e979eaa commit 48eee80
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 8 deletions.
8 changes: 6 additions & 2 deletions module/Olcs/config/module.config.php
Original file line number Diff line number Diff line change
Expand Up @@ -68,10 +68,11 @@
use Olcs\Controller\Lva\Licence as LvaLicenceControllers;
use Olcs\Controller\Lva\Variation as LvaVariationControllers;
use Olcs\Controller\Messages\ApplicationConversationListController;
use Olcs\Controller\Messages\ApplicationCreateConversationController;
use Olcs\Controller\Messages\LicenceConversationListController;
use Olcs\Controller\Messages\LicenceConversationMessagesController;
use Olcs\Controller\Messages\LicenceCreateConversationController;
use Olcs\Controller\Messages\LicenceEnableDisableMessagingController;
use Olcs\Controller\Messages\LicenceNewConversationController;
use Olcs\Controller\Operator as OperatorControllers;
use Olcs\Controller\Operator\HistoryController;
use Olcs\Controller\Operator\OperatorBusinessDetailsController;
Expand Down Expand Up @@ -893,7 +894,10 @@
LicenceConversationMessagesController::class => [
RouteParam\Conversation::class,
],
LicenceNewConversationController::class => [
LicenceCreateConversationController::class => [
RouteParam\Conversation::class,
],
ApplicationCreateConversationController::class => [
RouteParam\Conversation::class,
],
],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,12 +47,7 @@ class AbstractCreateConversationController extends AbstractInternalController im
]
];

/**
* Get left view
*
* @return ViewModel
*/
public function getLeftView()
public function getLeftView(): ViewModel
{
$view = new ViewModel();
$view->setTemplate('sections/messages/partials/left');
Expand Down

0 comments on commit 48eee80

Please sign in to comment.