Skip to content

Commit

Permalink
dev: fix rest controller - using actionIndex() instead of run() break…
Browse files Browse the repository at this point in the history
…s cors
  • Loading branch information
kevin-foster-uk committed Jan 19, 2024
1 parent 2aa2d63 commit f088b47
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion application/controllers/RestController.php
Expand Up @@ -22,9 +22,10 @@ class RestController extends LSYii_Controller
/**
* Run REST controller action.
*
* @param string $actionID action ID
* @return void
*/
public function actionIndex()
public function run($actionID)
{
$endpointFactory = DI::getContainer()
->get(EndpointFactory::class);
Expand Down

0 comments on commit f088b47

Please sign in to comment.