impress/app/controllers/pet_attributes_controller.rb

9 lines
161 B
Ruby
Raw Normal View History

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