2010-10-10 19:18:42 -07:00
|
|
|
class PetsController < ApplicationController
|
2010-10-10 11:33:54 -07:00
|
|
|
def show
|
|
|
|
@pet = Pet.load(params[:id])
|
|
|
|
@pet.save
|
2010-10-10 19:18:42 -07:00
|
|
|
redirect_to wardrobe_path(:anchor => @pet.wardrobe_query)
|
2010-10-10 11:33:54 -07:00
|
|
|
end
|
|
|
|
end
|