Project

General

Profile

Patch #26359 ยป User_linking_by_id.patch

Andrey Lobanov (RedSoft), 2017-07-05 15:36

View differences:

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 == ':'
    (1-1/1)