Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
to_s on ListItem is subject
  • Loading branch information
jackdempsey committed Jun 5, 2012
1 parent 819bfc0 commit 476028e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions app/models/lists/list_item.rb
Expand Up @@ -3,5 +3,9 @@ class ListItem < ActiveRecord::Base
belongs_to :list

attr_accessible :body, :position, :subject

def to_s
subject
end
end
end

0 comments on commit 476028e

Please sign in to comment.