Move view composer loading back to application directory.
This commit is contained in:
parent
57e6532723
commit
927c522e67
|
@ -61,7 +61,7 @@ public static function make($view, $data = array())
|
|||
{
|
||||
if (is_null(static::$composers))
|
||||
{
|
||||
static::$composers = require VIEW_PATH.'composers'.EXT;
|
||||
static::$composers = require APP_PATH.'composers'.EXT;
|
||||
}
|
||||
|
||||
$instance = new static($view, $data);
|
||||
|
|
Loading…
Reference in New Issue