Added cache comment
Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
parent
9269d5945e
commit
e9d297e97d
1 changed files with 1 additions and 0 deletions
|
@ -21,6 +21,7 @@ class AssetsTransformer
|
||||||
|
|
||||||
public function transformAsset(Asset $asset)
|
public function transformAsset(Asset $asset)
|
||||||
{
|
{
|
||||||
|
// This uses the getSettings() method so we're pulling from the cache versus querying the settings on single asset
|
||||||
$setting = Setting::getSettings();
|
$setting = Setting::getSettings();
|
||||||
|
|
||||||
$array = [
|
$array = [
|
||||||
|
|
Loading…
Add table
Reference in a new issue