Merge pull request #544 from kid0m4n/fix-formatting-1

topic_poster.rb: Fix formatting of the attributes return value
This commit is contained in:
Robin Ward 2013-03-23 07:33:32 -07:00
commit 6eba6ad520

View File

@ -4,10 +4,12 @@ class TopicPoster < OpenStruct
attr_accessor :user, :description, :extras, :id
def attributes
{'user' => user,
'description' => description,
'extras' => extras,
'id' => id}
{
'user' => user,
'description' => description,
'extras' => extras,
'id' => id
}
end
# TODO: Remove when old list is removed