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

Commit

Permalink
fix: PR: Rename newAction to addAction
Browse files Browse the repository at this point in the history
  • Loading branch information
wadedvsa committed Feb 2, 2024
1 parent 1b528af commit 4b19f56
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion module/Olcs/config/module.config.php
Original file line number Diff line number Diff line change
Expand Up @@ -462,7 +462,7 @@
'options' => [
'route' => 'new[/]',
'defaults' => [
'action' => 'new',
'action' => 'add',
],
]
],
Expand Down
2 changes: 1 addition & 1 deletion module/Olcs/src/Controller/ConversationsController.php
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ public function indexAction(): ViewModel
return $view;
}

public function newAction(): ViewModel
public function addAction(): ViewModel
{
$view = new ViewModel([]);
$view->setTemplate('messages-new');
Expand Down

0 comments on commit 4b19f56

Please sign in to comment.