aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLouise Crow <louise.crow@gmail.com>2013-01-17 18:24:09 +0000
committerLouise Crow <louise.crow@gmail.com>2013-01-17 18:24:09 +0000
commitdb4e59235cc13a99f7fedc3bcaf9f2267fd7b3a2 (patch)
tree7320623f77089545ca4bcf7d913b6f3a8861b4bc
parentb1287f9a5c217b6057b7ac174caa412f2817f8a8 (diff)
Fix typo.
-rw-r--r--app/controllers/general_controller.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/general_controller.rb b/app/controllers/general_controller.rb
index 8cf4ba6b7..875e39494 100644
--- a/app/controllers/general_controller.rb
+++ b/app/controllers/general_controller.rb
@@ -25,7 +25,7 @@ class GeneralController < ApplicationController
@locale = self.locale_from_params()
locale_condition = 'public_body_translations.locale = ?'
conditions = [locale_condition, @locale]
- PublicBody.with_locales(@locale) do
+ PublicBody.with_locale(@locale) do
if body_short_names.empty?
# This is too slow
@popular_bodies = PublicBody.visible.find(:all,