diff options
Diffstat (limited to 'app/models/todo.rb')
-rw-r--r-- | app/models/todo.rb | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/app/models/todo.rb b/app/models/todo.rb index 7a9b0212f9f..34d71c1b0d3 100644 --- a/app/models/todo.rb +++ b/app/models/todo.rb @@ -43,13 +43,6 @@ class Todo < ActiveRecord::Base state :done end - def action_name - case action - when ASSIGNED then 'assigned' - when MENTIONED then 'mentioned you on' - end - end - def body if note.present? note.note @@ -57,8 +50,4 @@ class Todo < ActiveRecord::Base target.title end end - - def target_iid - target.respond_to?(:iid) ? target.iid : target_id - end end |