Merge branch 'szzh' of https://git.trustie.net/jacknudt/trustieforge into szzh
This commit is contained in:
commit
eefb4c86d1
|
@ -6,7 +6,7 @@ class Subdomain
|
||||||
|
|
||||||
def matches?(request)
|
def matches?(request)
|
||||||
puts request.path_parameters
|
puts request.path_parameters
|
||||||
o = Secdomain.where(subname: request.subdomain).first
|
o = ::Secdomain.where(subname: request.subdomain).first
|
||||||
|
|
||||||
if(@opt[:sub])
|
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[:sub_dir_name] == 'news'
|
||||||
|
|
Loading…
Reference in New Issue