Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Removed redundant '/' from LOCALES_DIRECTORY

  • Loading branch information...
commit 0689d942921b8117c245ee6dddc29238957d4ffc 1 parent 47111df
@amatsuda authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  config/environment.rb
View
2  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")
Please sign in to comment.
Something went wrong with that request. Please try again.