fixing p-controller for real

This commit is contained in:
maxwell 2010-12-05 00:52:45 -08:00
parent 65c22020e8
commit 53b38a3bca

View file

@ -105,7 +105,7 @@ class PhotosController < ApplicationController
flash[:notice] = I18n.t 'photos.destroy.notice' flash[:notice] = I18n.t 'photos.destroy.notice'
if photo.status_message if photo.status_message_id
respond_with :location => photo.status_message respond_with :location => photo.status_message
else else
respond_with :location => person_photos_path(current_user.person) respond_with :location => person_photos_path(current_user.person)