diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb index a1a5ecacb..99be0d588 100644 --- a/app/helpers/application_helper.rb +++ b/app/helpers/application_helper.rb @@ -3418,6 +3418,8 @@ def get_reply_by_type type, reply_id reply = Comment.find reply_id when 'Issue' reply = Journal.find reply_id + when 'Journal' + reply = Journal.find reply_id when 'Syllabus' reply = JournalsForMessage.find reply_id end diff --git a/app/views/projects/_comment_reply_detail.html.erb b/app/views/projects/_comment_reply_detail.html.erb index d415beeef..f6e2b8fb3 100644 --- a/app/views/projects/_comment_reply_detail.html.erb +++ b/app/views/projects/_comment_reply_detail.html.erb @@ -1,7 +1,7 @@