about summary refs log tree commit diff
path: root/config
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2019-03-15 02:39:20 +0100
committerGitHub <noreply@github.com>2019-03-15 02:39:20 +0100
commitd94e21f933f53010f9a3b182e7fde919d73b09a0 (patch)
tree14f06b20f1ce402c9ed7a4ea11a0073dd0a1106a /config
parent85c3bbb23888250bd9caca5d3e8526e8dbdedccc (diff)
Add a preferences API so apps can share basic behaviours (#10109)
Diffstat (limited to 'config')
-rw-r--r--config/routes.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/config/routes.rb b/config/routes.rb
index 4a75d6952..1bb875264 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -286,6 +286,7 @@ Rails.application.routes.draw do
       resources :custom_emojis, only: [:index]
       resources :suggestions, only: [:index, :destroy]
       resources :scheduled_statuses, only: [:index, :show, :update, :destroy]
+      resources :preferences, only: [:index]
 
       resources :conversations, only: [:index, :destroy] do
         member do