1
0
Fork 0
forked from OpenNeo/impress
impress/app/controllers/pets_controller.rb

7 lines
148 B
Ruby

class PetsController < ActionController::Base
def show
@pet = Pet.load(params[:id])
@pet.save
redirect_to @pet.wardrobe_url
end
end