aboutsummaryrefslogtreecommitdiffstats
path: root/app/models/public_body.rb
diff options
context:
space:
mode:
authorLouise Crow <louise.crow@gmail.com>2014-06-16 13:46:22 +0100
committerLouise Crow <louise.crow@gmail.com>2014-06-16 13:46:22 +0100
commit04145fbe231cdbbc88b9172dad1ae3d1ddfb65cc (patch)
tree0516d6a792f4f0174e673579e2bf01bb4f8242bb /app/models/public_body.rb
parent6c89d63b6eebe33401efbf376e3884c61fb92d26 (diff)
parent7bf6cbe307d3fd99680c084025240ed504e37297 (diff)
Merge branch 'rails-3-develop' of ssh://git.mysociety.org/data/git/public/alaveteli into rails-3-develop
Diffstat (limited to 'app/models/public_body.rb')
-rw-r--r--app/models/public_body.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/models/public_body.rb b/app/models/public_body.rb
index 03ec270ee..fd7780981 100644
--- a/app/models/public_body.rb
+++ b/app/models/public_body.rb
@@ -93,7 +93,7 @@ class PublicBody < ActiveRecord::Base
self.translations.find_by_locale(locale)
end
- # XXX - Don't like repeating this!
+ # TODO: - Don't like repeating this!
def calculate_cached_fields(t)
PublicBody.set_first_letter(t)
short_long_name = t.name
@@ -329,7 +329,7 @@ class PublicBody < ActiveRecord::Base
first = false
end
if html
- # XXX this should call proper route helpers, but is in model sigh
+ # TODO: this should call proper route helpers, but is in model sigh
desc = '<a href="/body/list/' + tag.name + '">' + desc + '</a>'
end
types.push(desc)