assetic:
debug: false # %kernel.debug%
use_controller: false
read_from: %kernel.root_dir%/../web
write_to: %kernel.root_dir%/../web
bundles: [TerraKernelBundle, TerraGameBundle] # disable bundles parsing
filters:
cssrewrite: ~
yui_js: { jar: "%kernel.root_dir%/../bin/yuicompressor.jar" }
yui_css: { jar: "%kernel.root_dir%/../bin/yuicompressor.jar" }
assets:
bootstrap_min_css:
inputs:
- %kernel.root_dir%/../vendor/twbs/bootstrap/dist/css/bootstrap.min.css
output: css/bootstrap.min.css
jquery_min_js:
inputs:
- %kernel.root_dir%/../vendor/jquery/jquery/jquery-1.10.2.js
output: js/jquery.min.js
bootstrap_min_js:
inputs:
- %kernel.root_dir%/../vendor/twbs/bootstrap/dist/js/bootstrap.js
- %kernel.root_dir%/../vendor/twbs/bootstrap/js/*.js
output: js/bootstrap.min.js
frontend_min_js:
inputs:
- %kernel.root_dir%/../vendor/jquery/jquery/jquery-1.10.2.js
- %kernel.root_dir%/../vendor/twbs/bootstrap/dist/js/bootstrap.js
- %kernel.root_dir%/../vendor/twbs/bootstrap/js/*.js
- %kernel.root_dir%/../vendor/mopa/bootstrap-bundle/Mopa/Bundle/BootstrapBundle/Resources/public/js/mopabootstrap-collection.js
- '@TerraGameBundle/Resources/public/js/frontend.js'
output: js/frontend.min.js
header("Location: http://www.example.com/"); /* Redirect browser */