Commit d8ae680a authored by Felix Schäfer's avatar Felix Schäfer

Merge pull request #56 from schmidt/b/414-remove-returning

Remove returning since it causes deprecation warnings. #414
parents 0ed2af49 76c72d8f
......@@ -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