Project

General

Profile

Patch #11120 » change_replies_order.diff

Yannick Voyer, 2012-06-08 17:31

View differences:

app/controllers/messages_controller.rb (working copy)
:limit => @reply_pages.items_per_page,
:offset => @reply_pages.current.offset)
@replies.reverse! if User.current.wants_comments_in_reverse_order?
@reply = Message.new(:subject => "RE: #{@message.subject}")
render :action => "show", :layout => false if request.xhr?
end
(1-1/2)