Skip to content
Snippets Groups Projects
Commit 854f2de7 authored by Johannes Kreiner's avatar Johannes Kreiner
Browse files

[BUGFIX] Fix wrong class extension inside YouTubeController

parent e76dae9c
No related branches found
No related tags found
No related merge requests found
......@@ -2,8 +2,6 @@
namespace SGalinski\SgYoutube\Controller;
use TYPO3\CMS\Extbase\Mvc\Controller\AbstractController;
/***************************************************************
* Copyright notice
* (c) sgalinski Internet Services (https://www.sgalinski.de)
......@@ -22,8 +20,16 @@ use TYPO3\CMS\Extbase\Mvc\Controller\AbstractController;
* This copyright notice MUST APPEAR in all copies of the script!
***************************************************************/
class YoutubeController extends AbstractController {
use TYPO3\CMS\Extbase\Mvc\Controller\ActionController;
/**
*************************************************************
* The Youtube Controller
**************************************************************
*/
class YoutubeController extends ActionController {
public function listAction() {
public function indexAction() {
$this->view->assign('youtube', 'YouTube');
}
}
......@@ -29,10 +29,10 @@ if (!defined('TYPO3_MODE')) {
}
\TYPO3\CMS\Extbase\Utility\ExtensionUtility::configurePlugin(
'SGalinski.sg_youtube',
'SGalinski.' . $_EXTKEY,
'Youtube',
[
'Youtube' => 'list',
'Youtube' => 'index',
],
// non-cacheable actions
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment