Permalink
Browse files

Removed redundant '/' from LOCALES_DIRECTORY

  • Loading branch information...
1 parent 47111df commit 0689d942921b8117c245ee6dddc29238957d4ffc @amatsuda committed Dec 4, 2008
Showing with 1 addition and 1 deletion.
  1. +1 −1 config/environment.rb
@@ -68,7 +68,7 @@
I18n.default_locale = 'en'
-LOCALES_DIRECTORY = "#{RAILS_ROOT}/config/locales/"
+LOCALES_DIRECTORY = "#{RAILS_ROOT}/config/locales"
LOCALES_AVAILABLE = Dir["#{LOCALES_DIRECTORY}/*.{rb,yml}"].collect do |locale_file|
I18n.load_path << locale_file
File.basename(File.basename(locale_file, ".rb"), ".yml")

0 comments on commit 0689d94

Please sign in to comment.