aboutsummaryrefslogtreecommitdiff
path: root/www/edit.php
diff options
context:
space:
mode:
Diffstat (limited to 'www/edit.php')
-rw-r--r--www/edit.php17
1 files changed, 17 insertions, 0 deletions
diff --git a/www/edit.php b/www/edit.php
new file mode 100644
index 0000000..d86df41
--- /dev/null
+++ b/www/edit.php
@@ -0,0 +1,17 @@
+<?php
+namespace Phorkie;
+/**
+ * Edit paste contents
+ */
+require_once 'www-header.php';
+
+$repo = new Repository();
+$repo->loadFromRequest();
+
+render(
+ 'edit',
+ array(
+ 'repo' => $repo,
+ )
+);
+?>