From 42cbcb23478f7b07c0c49e0020a8d3c834322e87 Mon Sep 17 00:00:00 2001 From: Douwe Maan Date: Sat, 20 Feb 2016 12:01:50 -0800 Subject: "X assigned you Y" instead of "X assigned Y" --- app/models/todo.rb | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'app/models/todo.rb') 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 -- cgit v1.2.1