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