Permalink
Browse files

update assetic-configuration for module

  • Loading branch information...
1 parent 528f0a0 commit dc3d3a472eb3741c5e02759d03f26ff6d2ce999b @widmogrod committed Nov 12, 2011
Showing with 16 additions and 1 deletion.
  1. +1 −1 Module.php
  2. +15 −0 configs/module.config.php
View
@@ -39,7 +39,7 @@ public function getProvides()
public function getDependencies()
{
return array(
- 'Assetic' => array(
+ 'AsseticBundle' => array(
'version' => '>=0.1.0',
'required' => true
),
View
@@ -17,6 +17,19 @@
'assetic-configuration' => array(
'parameters' => array(
'config' => array(
+
+ /**
+ * Example, defaining that 'default' route will use twitter bootstrap css
+ * Setup your application or module, to use this section, if required.
+ */
+ /** /
+ 'routers' => array(
+ 'default' => array(
+ '@twitter_bootstrap_css'
+ )
+ ),
+ /**/
+
'modules' => array(
'twitterbootstrap' => array(
'root_path' => __DIR__ . '/../assets',
@@ -26,6 +39,8 @@
'bootstrap.css'
)
),
+
+ # todo
// 'twitter_bootstrap_js' => array(
// 'assets' => array(
// 'http://code.jquery.com/jquery-1.5.2.min.js',

0 comments on commit dc3d3a4

Please sign in to comment.