Fix framework.asset.packages naming to match package name
# version_format: '%%s?v=%%s'
#
# packages:
# version_format: '%%s?v=%%s'
#
# packages:
# base_path: '/bundles/%%s'
#Service configuration
# base_path: '/bundles/%%s'
#Service configuration
#Register air fixtures
Rapsys\AirBundle\DataFixtures\AirFixtures:
tags: [ 'doctrine.fixture.orm' ]
#Register air fixtures
Rapsys\AirBundle\DataFixtures\AirFixtures:
tags: [ 'doctrine.fixture.orm' ]
- #Replace default package
- #XXX: set base path to /bundles/<bundlealias> and disable versioning
- assets._default_package:
- class: 'Rapsys\PackBundle\Asset\PackPackage'
- arguments: [ '/bundles/%%s', '@assets.empty_version_strategy', '@assets.context' ]
-# arguments: [ '/', '@assets.static_version_strategy', '@assets.context' ]
+ #Replace assets packages
+ assets.packages:
+ class: Symfony\Component\Asset\Packages
+ arguments: [ '@assets.pack_package' ]
# #Set version strategy
# assets.static_version_strategy:
# class: Symfony\Component\Asset\VersionStrategy\StaticVersionStrategy
# #Set version strategy
# assets.static_version_strategy:
# class: Symfony\Component\Asset\VersionStrategy\StaticVersionStrategy