修复team.trustie.net的侧栏点击后没有显示栏目内容的问题
This commit is contained in:
parent
c91ef44570
commit
d2267106c2
|
@ -9,7 +9,7 @@ class Subdomain
|
|||
o = ::Secdomain.where(subname: request.subdomain).first
|
||||
|
||||
if(@opt[:sub])
|
||||
if o && o.sub_type == 2 && request.path_parameters[:sub_dir_name] == 'news'
|
||||
if o && o.sub_type == 2
|
||||
request.path_parameters[:id] = o.pid
|
||||
request.path_parameters[:controller] = 'org_subfields'
|
||||
request.path_parameters[:action] = 'show'
|
||||
|
|
Loading…
Reference in New Issue