]> git.openstreetmap.org Git - rails.git/commitdiff
Remove unnecessary local variable
authorAdam Conrad <acconrad@gmail.com>
Mon, 8 Dec 2014 00:04:21 +0000 (19:04 -0500)
committerTom Hughes <tom@compton.nu>
Mon, 8 Dec 2014 07:59:49 +0000 (07:59 +0000)
The local variable `app` was unused and therefore not needed
to be declared with initialization

config/initializers/i18n.rb

index 156eea4ecad2d8a1992f30d99970d1eb3166bee6..2562b67a0dd8c472bf80889add63ff9d7de74679 100644 (file)
@@ -44,6 +44,6 @@ I18n.fallbacks.map("no" => "nb")
 
 I18n.enforce_available_locales = false
 
-Rails.configuration.after_initialize do |app|
+Rails.configuration.after_initialize do
   I18n.available_locales
 end