about summary refs log tree commit diff
path: root/config/routes.rb
diff options
context:
space:
mode:
authorThibG <thib@sitedethib.com>2018-08-20 18:46:04 +0200
committerEugen Rochko <eugen@zeonfederated.com>2018-08-20 18:46:04 +0200
commitb34d6238cbd2be08e5df90b1dd99f266948fab8b (patch)
treeec5f8bd5a6badf2bb1976baa50f2f080d465a5ad /config/routes.rb
parent5fbf12bbb881181eb64c4d3e1b5f49b475572dc5 (diff)
Add API endpoint to list featured accounts (fixes #8315) (#8317)
Diffstat (limited to 'config/routes.rb')
-rw-r--r--config/routes.rb15
1 files changed, 8 insertions, 7 deletions
diff --git a/config/routes.rb b/config/routes.rb
index a8716aae5..da7cb8061 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -261,13 +261,14 @@ Rails.application.routes.draw do
 
       get '/search', to: 'search#index', as: :search
 
-      resources :follows,    only: [:create]
-      resources :media,      only: [:create, :update]
-      resources :blocks,     only: [:index]
-      resources :mutes,      only: [:index]
-      resources :favourites, only: [:index]
-      resources :reports,    only: [:index, :create]
-      resources :filters,    only: [:index, :create, :show, :update, :destroy]
+      resources :follows,      only: [:create]
+      resources :media,        only: [:create, :update]
+      resources :blocks,       only: [:index]
+      resources :mutes,        only: [:index]
+      resources :favourites,   only: [:index]
+      resources :reports,      only: [:index, :create]
+      resources :filters,      only: [:index, :create, :show, :update, :destroy]
+      resources :endorsements, only: [:index]
 
       namespace :apps do
         get :verify_credentials, to: 'credentials#show'