fix(registerApiRoutes): new name

This commit is contained in:
Jérémy Dufraisse 2023-02-28 02:02:09 +01:00
parent cd549bf1db
commit 3b22e9c026

View File

@ -20,7 +20,7 @@ class SeacmsAppPlugin extends AbstractPicoPlugin implements ApiAware
* return api routes * return api routes
* @return array * @return array
*/ */
public function registerOnPageRenderedApiRoutes():array public function registerApiRoutes():array
{ {
return [ return [
'pages/(.*)/create' => 'createPage', // TODO only define for POST 'pages/(.*)/create' => 'createPage', // TODO only define for POST