forked from OpenNeo/impress
Improve zones.json performance
Idk I'm working on a mobile hotspot rn and not including the translations was making this slow, hey may as well fix while we're here right? lol
This commit is contained in:
parent
6581597d7c
commit
0b1e241158
1 changed files with 1 additions and 1 deletions
|
@ -1,5 +1,5 @@
|
|||
class ZonesController < ApplicationController
|
||||
def index
|
||||
render json: Zone.all
|
||||
render json: Zone.includes(:translations).all
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue