1
0
Fork 0
forked from OpenNeo/impress
impress/app/controllers/zones_controller.rb
Matchu 0b1e241158 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
2023-10-23 19:05:03 -07:00

5 lines
118 B
Ruby

class ZonesController < ApplicationController
def index
render json: Zone.includes(:translations).all
end
end