Files
openfoodnetwork/app/controllers/suburbs_controller.rb
2014-01-06 15:23:21 +11:00

6 lines
139 B
Ruby

class SuburbsController < ActionController::Base
def index
@suburbs = Suburb.matching(params[:term]).order(:name).limit(8)
end
end