|
|
|
@ -41,7 +41,7 @@ class OrgDocumentCommentsController < ApplicationController
|
|
|
|
|
@org_subfield = OrgSubfield.where(:id => @document.org_subfield_id).first
|
|
|
|
|
@subfield_content = @organization.org_subfields.order("priority")
|
|
|
|
|
respond_to do |format|
|
|
|
|
|
format.html {render :layout => @organization.switch_type ? 'base_org_custom' : 'base_org'}
|
|
|
|
|
format.html {render :layout => (@organization.switch_type && @document && !@document.org_subfield_id.blank?) ? 'base_org_custom' : 'base_org'}
|
|
|
|
|
end
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|