install/compileassets

This commit is contained in:
Parziphal 2013-10-27 00:40:05 -05:00
parent 3b8f3cf300
commit 656288ebe4

View File

@ -0,0 +1,15 @@
<?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();
}
}