|
|
@ -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 |
|
|
|