git.cweiske.de
/
phorkie.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Single file editing
[phorkie.git]
/
src
/
phorkie
/
Repository.php
diff --git
a/src/phorkie/Repository.php
b/src/phorkie/Repository.php
index 9de2e1ab8995b8226e0e8845d9d5eb0866019879..467456b96821e81cd919927c734f098e2212bdb0 100644
(file)
--- a/
src/phorkie/Repository.php
+++ b/
src/phorkie/Repository.php
@@
-321,6
+321,9
@@
class Repository
{
if ($type == 'edit') {
$link = $this->id . '/edit';
+ if ($option !== null) {
+ $link .= '/' . urlencode($option);
+ }
} else if ($type == 'display') {
$link = $this->id;
} else if ($type == 'fork') {