about summary refs log tree commit diff
path: root/config/routes.rb
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2016-09-05 17:46:36 +0200
committerEugen Rochko <eugen@zeonfederated.com>2016-09-05 17:46:36 +0200
commitae1fac006206ab28cd7cba63ab85c07a27f3d606 (patch)
tree61f9cd45d7ed804eab85ae6a28cee584af90bfe3 /config/routes.rb
parent05001d54d15c486caa6cebe9462222d37d87576d (diff)
Add API to upload media attachments
Diffstat (limited to 'config/routes.rb')
-rw-r--r--config/routes.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/config/routes.rb b/config/routes.rb
index 7b6b1ab3a..918eb7347 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -54,6 +54,7 @@ Rails.application.routes.draw do
     end
 
     resources :follows,  only: [:create]
+    resources :media,    only: [:create]
 
     resources :accounts, only: [:show] do
       collection do