summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--app/controllers/trackers_controller.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/trackers_controller.rb b/app/controllers/trackers_controller.rb
index 64367f373..05ef336ef 100644
--- a/app/controllers/trackers_controller.rb
+++ b/app/controllers/trackers_controller.rb
@@ -26,7 +26,7 @@ class TrackersController < ApplicationController
accept_api_auth :index
def index
- @trackers = Tracker.sorted.to_a
+ @trackers = Tracker.sorted.preload(:default_status).to_a
respond_to do |format|
format.html {render :layout => false if request.xhr?}
format.api