The file is now located at app/Plugin/AutoAsset/Controller/Component/AssetGathererComponent.php
I updated the constructor per the core components for how it should look in 2.0. I also made sure it extends Component
Here is my current code: https://gist.github.com/1167325
I am including it in my AppController's $components array like this:
'AutoAsset.AssetGatherer' => array(
'mainJs' => 'app',
'requireJs' => array('libs/modernizr-1.7-custom.min', 'libs/selectivizr'),
),
Whenever I include it in my AppController, the entire AppController goes unused in my application. When I take it back out, the AppController works fine.
What have I done wrong?
Thanks!
Ben
-- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions.
To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php
No comments:
Post a Comment