aboutsummaryrefslogtreecommitdiffstats
path: root/app/models/public_body_heading.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/models/public_body_heading.rb')
-rw-r--r--app/models/public_body_heading.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/models/public_body_heading.rb b/app/models/public_body_heading.rb
index 05d6d7bc7..d49b388bb 100644
--- a/app/models/public_body_heading.rb
+++ b/app/models/public_body_heading.rb
@@ -28,6 +28,8 @@ class PublicBodyHeading < ActiveRecord::Base
end
end
+ include Translatable
+
def add_category(category)
unless public_body_categories.include?(category)
public_body_categories << category