fixed 500 on /people/:person_id/photos

This commit is contained in:
MrZYX 2011-05-08 13:41:55 +02:00
parent fc25c9bedb
commit 3b7dd1906f

View file

@ -3,7 +3,7 @@
# the COPYRIGHT file. # the COPYRIGHT file.
class PhotosController < ApplicationController class PhotosController < ApplicationController
helper :comments helper :comments, :people
before_filter :authenticate_user! before_filter :authenticate_user!
respond_to :html, :json respond_to :html, :json