From 3b7dd1906f1b7b48ac5bfe1227ec5c6aa4d50b1e Mon Sep 17 00:00:00 2001 From: MrZYX Date: Sun, 8 May 2011 13:41:55 +0200 Subject: [PATCH] fixed 500 on /people/:person_id/photos --- app/controllers/photos_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/photos_controller.rb b/app/controllers/photos_controller.rb index ba33f6a99..ee21b325d 100644 --- a/app/controllers/photos_controller.rb +++ b/app/controllers/photos_controller.rb @@ -3,7 +3,7 @@ # the COPYRIGHT file. class PhotosController < ApplicationController - helper :comments + helper :comments, :people before_filter :authenticate_user! respond_to :html, :json