Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
services
t3o sites
typo3.org
randombanners
Commits
40b13c9f
Commit
40b13c9f
authored
Nov 06, 2018
by
Sebastian Kotte
Browse files
Update BannerController.php
parent
bd192708
Changes
1
Show whitespace changes
Inline
Side-by-side
Classes/Controller/BannerController.php
View file @
40b13c9f
...
...
@@ -15,7 +15,6 @@ namespace T3o\Randombanners\Controller;
*/
use
T3o\Randombanners\Domain\Repository\BannerRepository
;
use
T3o\T3oMembership\Domain\Repository\MemberRepository
;
/**
* Class BannerController
...
...
@@ -39,7 +38,6 @@ class BannerController extends \TYPO3\CMS\Extbase\Mvc\Controller\ActionControlle
{
$this
->
objectManager
->
get
(
\
TYPO3\CMS\Core\Page\PageRenderer
::
class
)
->
addJsFooterFile
(
'EXT:randombanners/Resources/Public/Javascript/randombanners.js'
);
$this
->
view
->
assign
(
'banners'
,
$this
->
bannerRepository
->
findAll
());
$this
->
view
->
assign
(
'contentData'
,
$this
->
configurationManager
->
getContentObject
()
->
data
);
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment