Exemple #1
0
 /**
  * Loads ToolbarBundle and BBCoreJs resources directories into application.
  *
  * @param  BBApplication $application
  * @param  Config        $config
  */
 public static function loadResources(ApplicationInterface $application, Config $config)
 {
     $baseDir = $application->getContainer()->get('bundle.theme')->getBaseDirectory();
     $application->addResourceDir($baseDir . DIRECTORY_SEPARATOR . '..' . DIRECTORY_SEPARATOR . 'resources');
 }