组织文章编辑,返回对应界面
This commit is contained in:
parent
25b66b5dbb
commit
3abc3f7af0
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue