Sha256: ebff12c2842fa7d3d62a6de1bc9135b70f414e9202f28dc7fb66b77846daebf0
Contents?: true
Size: 299 Bytes
Versions: 9
Compression:
Stored size: 299 Bytes
Contents
require_dependency "addresses/application_controller" module Addresses class NeighborhoodsController < ApplicationController def index @city = City.find(params[:city_id]) @neighborhoods = @city.neighborhoods.order("name asc") render json: @neighborhoods end end end
Version data entries
9 entries across 9 versions & 1 rubygems