aboutsummaryrefslogtreecommitdiff
path: root/src/phorkie/Repository.php
diff options
context:
space:
mode:
Diffstat (limited to 'src/phorkie/Repository.php')
-rw-r--r--src/phorkie/Repository.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/phorkie/Repository.php b/src/phorkie/Repository.php
index 467456b..f9b248d 100644
--- a/src/phorkie/Repository.php
+++ b/src/phorkie/Repository.php
@@ -310,6 +310,7 @@ class Repository
* - "delete"
* - "delete-confirm"
* - "display"
+ * - "embed"
* - "fork"
* - "revision"
* @param string $option Additional link option, e.g. revision number
@@ -334,6 +335,8 @@ class Repository
$link = $this->id . '/delete';
} else if ($type == 'delete-confirm') {
$link = $this->id . '/delete/confirm';
+ } else if ($type == 'embed') {
+ $link = $this->id . '/embed';
} else if ($type == 'remotefork') {
return 'web+fork:' . $this->getLink('display', null, true);
} else if ($type == 'revision') {