forked from OpenNeo/impress
10 lines
217 B
Ruby
10 lines
217 B
Ruby
class PetAttributesController < ApplicationController
|
|
caches_page :index
|
|
|
|
def index
|
|
render :json => {
|
|
:color => Color.all_ordered_by_name,
|
|
:species => Species.all_ordered_by_name
|
|
}
|
|
end
|
|
end
|