Commit 76c72d8f authored by Gregor Schmidt's avatar Gregor Schmidt

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

parent 0ed2af49
......@@ -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})
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment