aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFaton Selishta <fatonselishta@gmail.com>2011-04-26 15:16:36 +0000
committerFaton Selishta <fatonselishta@gmail.com>2011-04-26 15:16:36 +0000
commit930577a292207dac369f70b2fe41a96c79a25232 (patch)
treee33ecc016940d6971eb8f6c195d6c388c7daf80c
parentd0a0fa8ee8009be149ca75345b2849ab924bf73a (diff)
Fix a bug of translation
-rw-r--r--app/models/public_body.rb3
1 files changed, 1 insertions, 2 deletions
diff --git a/app/models/public_body.rb b/app/models/public_body.rb
index c97dd516a..d7c3a3de6 100644
--- a/app/models/public_body.rb
+++ b/app/models/public_body.rb
@@ -44,8 +44,7 @@ class PublicBody < ActiveRecord::Base
has_tag_string
- translates :name, :short_name, :request_email, :url_name, :notes
- translates :first_letter, :publication_scheme
+ translates :name, :short_name, :request_email, :url_name, :notes, :first_letter, :publication_scheme
# like find_by_url_name but also search historic url_name if none found
def self.find_by_url_name_with_historic(name)