Skip to content

Commit

Permalink
fix: Do not require a themes folder at project root
Browse files Browse the repository at this point in the history
  • Loading branch information
ambroisemaupate committed Aug 1, 2024
1 parent 1e52d00 commit 02b2e1c
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 19 deletions.
18 changes: 0 additions & 18 deletions lib/RoadizCompatBundle/config/services.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,24 +19,6 @@ services:
- '../src/Tests/'
- '../src/Event/'

#
# Automatic themes registration
#
Themes\:
resource: '%kernel.project_dir%/themes/'
autowire: true
autoconfigure: true
exclude:
- '%kernel.project_dir%/themes/DependencyInjection/'
- '%kernel.project_dir%/themes/app/'
- '%kernel.project_dir%/themes/public/'
- '%kernel.project_dir%/themes/Resources/'
- '%kernel.project_dir%/themes/Services/'
- '%kernel.project_dir%/themes/static/'
- '%kernel.project_dir%/themes/Entity/'
- '%kernel.project_dir%/themes/Kernel.php'
- '%kernel.project_dir%/themes/Tests/'

# Explicit declaration
RZ\Roadiz\CompatBundle\Controller\AppController: ~
RZ\Roadiz\CompatBundle\Controller\Controller: ~
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
use Symfony\Component\DependencyInjection\ContainerBuilder;
use Symfony\Component\Finder\Finder;

class ThemesTranslatorPathsCompilerPass implements CompilerPassInterface
final class ThemesTranslatorPathsCompilerPass implements CompilerPassInterface
{
/**
* @inheritDoc
Expand Down
Empty file removed themes/.gitkeep
Empty file.

0 comments on commit 02b2e1c

Please sign in to comment.