Merge branch 'master' of github.com:diaspora/diaspora
This commit is contained in:
commit
e7afebece8
1 changed files with 1 additions and 0 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue