8 lines
161 B
Ruby
8 lines
161 B
Ruby
class PetAttributesController < ApplicationController
|
|
def index
|
|
render :json => {
|
|
:color => Color.all,
|
|
:species => Species.all
|
|
}
|
|
end
|
|
end
|