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