From 3f27ffca9f5cdc82b8570ca5fab065e3c357411c Mon Sep 17 00:00:00 2001 From: Karan Misra Date: Sat, 23 Mar 2013 19:09:01 +0530 Subject: [PATCH] topic_poster.rb: Fix formatting of the attributes return value --- app/models/topic_poster.rb | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/app/models/topic_poster.rb b/app/models/topic_poster.rb index 6c242662b7f..7e32aa83db4 100644 --- a/app/models/topic_poster.rb +++ b/app/models/topic_poster.rb @@ -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