diff --git a/app/controllers/sub_document_comments_controller.rb b/app/controllers/sub_document_comments_controller.rb index db288306d..a5f4ce125 100644 --- a/app/controllers/sub_document_comments_controller.rb +++ b/app/controllers/sub_document_comments_controller.rb @@ -90,7 +90,7 @@ class SubDocumentCommentsController < ApplicationController end def edit - @org_document = OrgDocumentComment.find(params[:id]) + @org_document = SubDocumentComment.find(params[:id]) @flag = params[:flag] @organization = Organization.find(params[:organization_id]) end diff --git a/app/views/sub_document_comments/_show_sub_document.html.erb b/app/views/sub_document_comments/_show_sub_document.html.erb index b500f69a4..83d285976 100644 --- a/app/views/sub_document_comments/_show_sub_document.html.erb +++ b/app/views/sub_document_comments/_show_sub_document.html.erb @@ -35,7 +35,30 @@ - + + + + +