about summary refs log tree commit diff
path: root/config
diff options
context:
space:
mode:
Diffstat (limited to 'config')
-rw-r--r--config/environments/development.rb6
-rw-r--r--config/routes.rb4
2 files changed, 4 insertions, 6 deletions
diff --git a/config/environments/development.rb b/config/environments/development.rb
index d0ff03754..3a2ab2a0e 100644
--- a/config/environments/development.rb
+++ b/config/environments/development.rb
@@ -59,9 +59,9 @@ Rails.application.configure do
   config.action_mailer.delivery_method = :letter_opener
 
   config.after_initialize do
-    Bullet.enable = true
+    Bullet.enable        = true
     Bullet.bullet_logger = true
-    Bullet.rails_logger = true
+    Bullet.rails_logger  = false
 
     Bullet.add_whitelist type: :n_plus_one_query, class_name: 'User', association: :account
   end
@@ -71,3 +71,5 @@ end
 
 require 'sidekiq/testing'
 Sidekiq::Testing.inline!
+
+ActiveRecordQueryTrace.enabled = true
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