impress/app/controllers/zones_controller.rb

5 lines
94 B
Ruby

class ZonesController < ApplicationController
def index
render json: Zone.all
end
end