about summary refs log tree commit diff
path: root/config
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2016-11-30 23:01:03 +0100
committerEugen Rochko <eugen@zeonfederated.com>2016-11-30 23:01:03 +0100
commit6ff93845d55eb34fc8beceb0c2dde06860c1eb47 (patch)
tree4097796e3dc6daf8678c44473ba7611e025b618c /config
parent14bd46946d25186044485aa101dd2da976b61181 (diff)
Add basic OEmbed provider API, fix #247
Diffstat (limited to 'config')
-rw-r--r--config/routes.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/config/routes.rb b/config/routes.rb
index f956e99be..35e5c269a 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -60,6 +60,9 @@ Rails.application.routes.draw do
     # Salmon
     post '/salmon/:id', to: 'salmon#update', as: :salmon
 
+    # OEmbed
+    get '/oembed', to: 'oembed#show', as: :oembed
+
     # JSON / REST API
     namespace :v1 do
       resources :statuses, only: [:create, :show, :destroy] do