impress/app/controllers/pets_controller.rb

8 lines
175 B
Ruby
Raw Normal View History

2010-10-10 19:18:42 -07:00
class PetsController < ApplicationController
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)
end
end