about summary refs log tree commit diff
path: root/config
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2016-03-21 17:02:16 +0100
committerEugen Rochko <eugen@zeonfederated.com>2016-03-21 17:02:16 +0100
commit9d55529318a285ced484b9216df9064914d6f790 (patch)
tree5e6ac6135236c44e5a75105c7af64652a27adce4 /config
parentbf08d46e58c423688d870cf128ded7fd36009115 (diff)
Fix text color in dashboard inputs, sanitize remote status content in UI,
simplify FanOutOnWriteService, add /api/accounts/lookup method
Diffstat (limited to 'config')
-rw-r--r--config/routes.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/config/routes.rb b/config/routes.rb
index 2c7b3aa32..f40746f30 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -47,6 +47,10 @@ Rails.application.routes.draw do
     resources :follows,  only: [:create]
 
     resources :accounts, only: [:show] do
+      collection do
+        get :lookup, to: 'accounts/lookup#index', as: :lookup
+      end
+
       member do
         get :statuses
         get :followers