about summary refs log tree commit diff
path: root/config/routes.rb
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2016-09-08 20:36:01 +0200
committerEugen Rochko <eugen@zeonfederated.com>2016-09-08 20:36:01 +0200
commit85d89b472dff2c3d06801dbd42f91c325d21a434 (patch)
treeb348297bf48c63f906cdcdbc1ff573203afb560a /config/routes.rb
parenta4cc966476852542f445793b60c67ad3682976e5 (diff)
Optimized n+1 queries in accounts Atom and HTML views
Added stack trace for SQL queries in development
Removed badly thought out accounts/lookup API
Diffstat (limited to 'config/routes.rb')
-rw-r--r--config/routes.rb4
1 files changed, 0 insertions, 4 deletions
diff --git a/config/routes.rb b/config/routes.rb
index 6201a4ee7..297426f6a 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -56,10 +56,6 @@ Rails.application.routes.draw do
     resources :media,    only: [:create]
 
     resources :accounts, only: [:show] do
-      collection do
-        get :lookup, to: 'accounts/lookup#index', as: :lookup
-      end
-
       member do
         get :statuses
         get :followers