subdomain 404跳转

This commit is contained in:
huang 2016-05-04 11:08:16 +08:00
parent 7fbf6f4011
commit 578982faba
1 changed files with 3 additions and 2 deletions

View File

@ -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