Merge branch 'master' of github.com:diaspora/diaspora

This commit is contained in:
maxwell 2010-09-16 15:07:02 -07:00
commit e7afebece8

View file

@ -10,6 +10,7 @@ module ApplicationHelper
end
def object_path(object, opts = {})
object = object.person if object.is_a? User
eval("#{object.class.to_s.underscore}_path(object, opts)")
end