Skip to content

Commit

Permalink
change plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
MDevster committed Dec 5, 2017
1 parent 9b08a0b commit 1e70bfd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
},
"autoload": {
"psr-4": {
"Pdir\\ThemeHelperBundle\\": "src/"
"Pdir\\ThemeHelperBundle\\": "src"
}
},
"extra": {
Expand Down
5 changes: 2 additions & 3 deletions src/ContaoManager/Plugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
*/
namespace Pdir\ThemeHelperBundle\ContaoManager;

use Contao\CoreBundle\ContaoCoreBundle;
use Contao\ManagerPlugin\Bundle\BundlePluginInterface;
use Contao\ManagerPlugin\Bundle\Parser\ParserInterface;
use Contao\ManagerPlugin\Bundle\Config\BundleConfig;
Expand All @@ -33,8 +32,8 @@ class Plugin implements BundlePluginInterface
public function getBundles(ParserInterface $parser)
{
return [
BundleConfig::create(ThemeHelperBundle::class)
->setLoadAfter([ThemeHelperBundle::class])
BundleConfig::create('Pdir\ThemeHelperBundle\ThemeHelperBundle')
->setLoadAfter(['Contao\CoreBundle\ContaoCoreBundle']),
];
}
}

0 comments on commit 1e70bfd

Please sign in to comment.