Permalink
Browse files

Fix for the fix

  • Loading branch information...
1 parent 35edc1b commit 397300a0b737b72b741ecac9136bf45539fe140f @lackac committed Feb 6, 2009
Showing with 1 addition and 1 deletion.
  1. +1 −1 locale.rb
View
@@ -19,7 +19,7 @@ def uri_exists?(uri)
locales.each do |locale|
fn = "#{locale.split(".").first}.#{lego}.yml"
path = "#{@base_path}/locales/#{fn}"
- if @base_path != /^https?:\/\// or uri_exists?(path)
+ if @base_path !~ /^https?:\/\// or uri_exists?(path)
content = open(path).read rescue nil
file "config/locales/#{fn}", content if content
end

0 comments on commit 397300a

Please sign in to comment.