summaryrefslogtreecommitdiff
path: root/engines/support/app/models
diff options
context:
space:
mode:
authorAzul <azul@leap.se>2014-05-22 14:57:29 +0200
committerAzul <azul@leap.se>2014-05-26 13:00:05 +0200
commit19bce0f114180f355f0df367cf6d21bd957734a6 (patch)
tree3d82be78de73a28d713895b76fee0c34f651270e /engines/support/app/models
parent560eb039f4778257559395583e1233d052d44127 (diff)
tickets: structure i18n
Diffstat (limited to 'engines/support/app/models')
-rw-r--r--engines/support/app/models/ticket_comment.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/engines/support/app/models/ticket_comment.rb b/engines/support/app/models/ticket_comment.rb
index bed5237..2c5df41 100644
--- a/engines/support/app/models/ticket_comment.rb
+++ b/engines/support/app/models/ticket_comment.rb
@@ -18,6 +18,11 @@ class TicketComment
# view :by_body
#end
+ # translations are in the same scope as those of a "proper" couchrest model
+ def self.i18n_scope
+ "couchrest"
+ end
+
def is_comment_validated?
!!posted_by
end