From 578982fabae772625786f6ddc98ee38349298db8 Mon Sep 17 00:00:00 2001 From: huang Date: Wed, 4 May 2016 11:08:16 +0800 Subject: [PATCH] =?UTF-8?q?subdomain=20404=E8=B7=B3=E8=BD=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/controllers/sub_domains_controller.rb | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/app/controllers/sub_domains_controller.rb b/app/controllers/sub_domains_controller.rb index 318631ccd..5ca9b07ed 100644 --- a/app/controllers/sub_domains_controller.rb +++ b/app/controllers/sub_domains_controller.rb @@ -28,8 +28,9 @@ class SubDomainsController < ApplicationController end def show - @subfield_content = @organization.org_subfields.order("priority") - render layout: @organization.switch_type ? 'base_sub_domain' : 'base_org' + render_404 + # @subfield_content = @organization.org_subfields.order("priority") + # render layout: @organization.switch_type ? 'base_sub_domain' : 'base_org' end def index