@@ -93,6 +93,24 @@ class MediaController extends Controller
...
@@ -93,6 +93,24 @@ class MediaController extends Controller
returnnewMediaTransformer($file);
returnnewMediaTransformer($file);
}
}
/**
* Get a media collection by zone and entity object. Require some params that were passed to request: entity (Full class name of entity), entity_id and zone