fixed failing spec for photos_controller#edit

This commit is contained in:
danielvincent 2010-10-28 17:11:46 -07:00
parent 1d399598d3
commit 4776f4810e

View file

@ -111,9 +111,7 @@ class PhotosController < ApplicationController
respond_with @photo respond_with @photo
else else
flash[:error] = I18n.t 'photos.update.error' flash[:error] = I18n.t 'photos.update.error'
@album = @photo.album redirect_to [:edit, @photo]
set_friends_and_status
render :edit
end end
end end
end end