Patch #26359 ยป User_linking_by_id.patch
app/helpers/application_helper.rb (revision ) | ||
---|---|---|
922 | 922 |
end |
923 | 923 |
when 'user' |
924 | 924 |
u = User.visible.where(:id => oid, :type => 'User').first |
925 |
u = User.visible.where(:id => name, :type => 'User').first unless u |
|
925 | 926 |
link = link_to_user(u) if u |
926 | 927 |
end |
927 | 928 |
elsif sep == ':' |