mirror of
https://github.com/flarum/framework.git
synced 2024-11-28 03:32:49 +08:00
Assets extender: Remove defaultAssets() method
See a7821a24a2 (r26990974)
.
This commit is contained in:
parent
ed3e833181
commit
072f4f89cb
|
@ -27,14 +27,6 @@ class Assets implements Extender
|
|||
$this->appName = $appName;
|
||||
}
|
||||
|
||||
public function defaultAssets($baseDir)
|
||||
{
|
||||
$this->asset("$baseDir/js/{$this->appName}/dist/extension.js");
|
||||
$this->asset("$baseDir/less/{$this->appName}/extension.less");
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
public function asset($path)
|
||||
{
|
||||
$this->assets[] = $path;
|
||||
|
|
Loading…
Reference in New Issue
Block a user