[Embed][ENTITY] Fix embed route and use attachment_view rather than _show. Rename Entity::have to Entity::has, because grammar
This commit is contained in:
@@ -209,7 +209,7 @@ class AttachmentEmbed extends Entity
|
||||
|
||||
public function getAttachmentUrl()
|
||||
{
|
||||
return Router::url('attachment_show', ['id' => $this->getAttachmentId()]);
|
||||
return Router::url('attachment_view', ['id' => $this->getAttachmentId()]);
|
||||
}
|
||||
|
||||
public function isImage()
|
||||
|
Reference in New Issue
Block a user