impress/app/controllers/pet_attributes_controller.rb

9 lines
193 B
Ruby
Raw Normal View History

2010-10-10 19:18:42 -07:00
class PetAttributesController < ApplicationController
def index
render :json => {
:color => Color.all_ordered_by_name,
:species => Species.all_ordered_by_name
2010-10-10 19:18:42 -07:00
}
end
end