public function initialize() { \Rails::assets()->addPaths([realpath(__DIR__ . '/../../../vendor/assets/javascripts'), realpath(__DIR__ . '/../../../vendor/assets/stylesheets'), realpath(__DIR__ . '/../../../vendor/assets/fonts')]); \Rails::assets()->addFilePatterns(['*.eot', '*.svg', '*.ttf', '*.woff']); \Rails\ActionView\ViewHelpers::addHelper('Rails\\Bootstrap3\\ViewHelper'); }
public function initialize() { \Rails::assets()->addPaths([realpath(__DIR__ . '/../../../vendor/assets/javascripts'), realpath(__DIR__ . '/../../../vendor/assets/stylesheets'), realpath(__DIR__ . '/../../../vendor/assets/images')]); \Rails\ActionView\ViewHelpers::addHelper('Rails\\Bootstrap2\\ViewHelper'); }
public static function initialize() { self::$config = new Config(); \Rails\ActionView\ViewHelpers::addHelper('Rails\\WillPaginate\\Helper'); }