From 2150cb505e8024a5f8ab8c87f83278b826e2712e Mon Sep 17 00:00:00 2001 From: danielvincent Date: Tue, 21 Dec 2010 12:44:33 -0800 Subject: [PATCH] fixed person_photo_path --- app/helpers/application_helper.rb | 7 ------- 1 file changed, 7 deletions(-) diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb index a708c70b4..54649f00d 100644 --- a/app/helpers/application_helper.rb +++ b/app/helpers/application_helper.rb @@ -159,13 +159,6 @@ module ApplicationHelper (':' + post.id.to_s).to_sym end - def person_photos_path person - person_id = person.id if person.respond_to?(:id) - person_id ||= person - - "#{photos_path}?person_id=#{person_id}" - end - def markdownify(message, options = {}) message = h(message).html_safe