[#414] remove returning which will be removed in future versions of Rails

This commit is contained in:
Gregor Schmidt 2011-05-14 00:19:53 +02:00
parent 0ed2af49e9
commit 76c72d8f11
1 changed files with 1 additions and 1 deletions

View File

@ -75,7 +75,7 @@ module JournalsHelper
end
unless journal.notes.blank?
links = returning [] do |l|
links = [].tap do |l|
if reply_links
l << link_to_remote(image_tag('comment.png'), :title => l(:button_quote),
:url => {:controller => controller, :action => action, :id => model, :journal_id => journal})