diff options
author | Gabriel Mazetto <brodock@gmail.com> | 2018-11-14 06:17:16 +0300 |
---|---|---|
committer | Gabriel Mazetto <brodock@gmail.com> | 2018-12-10 19:35:09 +0300 |
commit | 1297a1bd7dcccaa4e233925c8467c2bbe41a4bf2 (patch) | |
tree | 1afe97fde2810df30ef72a7cb8a4bc1a932a9303 /app/helpers/events_helper.rb | |
parent | d81c646014a112d15b0510a58ef74a28fd55f125 (diff) |
Remove STI #becomes call from Dashboard index
By defining the correct route helper path instead of relying on the
polymorphic route, we don't invalidate the eager-loaded relations.
This change removes remaining N+1 queries
Diffstat (limited to 'app/helpers/events_helper.rb')
0 files changed, 0 insertions, 0 deletions