summaryrefslogtreecommitdiffstats
path: root/app/views/attachments
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/attachments')
-rw-r--r--app/views/attachments/upload.api.rsb3
1 files changed, 3 insertions, 0 deletions
diff --git a/app/views/attachments/upload.api.rsb b/app/views/attachments/upload.api.rsb
new file mode 100644
index 000000000..edd0b0af4
--- /dev/null
+++ b/app/views/attachments/upload.api.rsb
@@ -0,0 +1,3 @@
+api.upload do
+ api.token @attachment.token
+end