Permalink
Browse files

Ignore an empty project name when calculating the domain.

  • Loading branch information...
1 parent bb5f4bb commit 80fd5ddf3a830416ba6dfa0e6900416843280724 @Fluxx Fluxx committed Jun 1, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/rudy/huxtable.rb
View
@@ -58,7 +58,7 @@ def self.domain_exists?
def self.domain
name = @@global.project.to_s.gsub(/\W/, '_').downcase
- [name, Rudy::DEFAULT_DOMAIN].join('_')
+ [name, Rudy::DEFAULT_DOMAIN].reject(&:empty?).join('_')
end
# Puts +msg+ to +@@logger+

0 comments on commit 80fd5dd

Please sign in to comment.