summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/templates/index.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/templates/index.php b/src/templates/index.php
index 11abe10..d246605 100644
--- a/src/templates/index.php
+++ b/src/templates/index.php
@@ -12,7 +12,7 @@
<a href="/create">Add</a>
<ul>
<?php foreach ($bookmarks as $bookmark) { ?>
- <li><a href="/edit?id=<?php echo $bookmark->id; ?>"><?php echo $bookmark->title != '' ? $bookmark->title : $bookmark->url; ?></a> | <a href="/delete/confirm?id=<?php echo $bookmark->id; ?>">Delete</a></li>
+ <li><a href="<?php echo $bookmark->url; ?>"><?php echo $bookmark->title != '' ? $bookmark->title : $bookmark->url; ?></a> <a href="/edit?id=<?php echo $bookmark->id; ?>">Edit</a> | <a href="/delete/confirm?id=<?php echo $bookmark->id; ?>">Delete</a></li>
<?php } ?>
</ul>
</body>