Sequenzia/install/ApplicationInstaller/CompileAssets.php

16 lines
305 B
PHP
Raw Normal View History

2013-10-27 06:40:05 +01:00
<?php
namespace ApplicationInstaller;
/**
* Post-install script ran when installing the system
* using composer. It compiles assets.
*/
class CompileAssets
{
static public function compile()
{
require __DIR__ . '/../../config/boot.php';
\Rails::assets()->compileAll();
}
}