Skip to content
Browse files

Merge commit 'coderrr/master'

  • Loading branch information...
2 parents 1bd03ef + fb1d59e commit d47d12b3459082a351262ab9417142f59d59cb88 @pboling pboling committed Aug 24, 2009
Showing with 1 addition and 0 deletions.
  1. +1 −0 lib/subdomain_fu/routing_extensions.rb
View
1 lib/subdomain_fu/routing_extensions.rb
@@ -13,6 +13,7 @@ def recognition_conditions_with_subdomain
result << "conditions[:subdomain] === env[:subdomain].to_s" if conditions[:subdomain] && conditions[:subdomain] != true && conditions[:subdomain] != false
result << "SubdomainFu.has_subdomain?(env[:subdomain])" if conditions[:subdomain] == true
result << "!SubdomainFu.has_subdomain?(env[:subdomain])" if conditions[:subdomain] == false
+ result << "conditions[:host] === env[:host]" if conditions[:host]
result
end
end

0 comments on commit d47d12b

Please sign in to comment.
Something went wrong with that request. Please try again.