Implement request #12: DOAP documents for all pastes
[phorkie.git] / src / phorkie / Repository.php
index 448982baa2da6c54252731382fd746cc61d832e9..46b2f6526fa4d2ee083a6e541141361ce638a436 100644 (file)
@@ -228,6 +228,8 @@ class Repository
             return '/' . $this->id;
         } else if ($type == 'fork') {
             return '/' . $this->id . '/fork';
             return '/' . $this->id;
         } else if ($type == 'fork') {
             return '/' . $this->id . '/fork';
+        } else if ($type == 'doap') {
+            return '/' . $this->id . '/doap';
         } else if ($type == 'delete') {
             return '/' . $this->id . '/delete';
         } else if ($type == 'delete-confirm') {
         } else if ($type == 'delete') {
             return '/' . $this->id . '/delete';
         } else if ($type == 'delete-confirm') {