|
|
|
@ -39,7 +39,7 @@ class OrgDocumentCommentsController < ApplicationController
|
|
|
|
|
end
|
|
|
|
|
respond_to do |format|
|
|
|
|
|
format.html {
|
|
|
|
|
if params[:flag] == 0
|
|
|
|
|
if params[:flag].to_i == 0
|
|
|
|
|
redirect_to organization_org_document_comments_path(:organization_id => @org_document.organization.id)
|
|
|
|
|
else
|
|
|
|
|
redirect_to org_document_comment_path(@org_document.root.id, :organization_id => @org_document.organization.id)
|
|
|
|
|