1
0
Fork 0
forked from OpenNeo/impress
impress/app/controllers/pet_attributes_controller.rb

11 lines
217 B
Ruby
Raw Normal View History

2010-10-10 19:18:42 -07:00
class PetAttributesController < ApplicationController
2010-12-11 07:32:42 -08:00
caches_page :index
2010-10-10 19:18:42 -07:00
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