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

Remove returning since it causes deprecation warnings. #414
This commit is contained in:
Felix Schäfer 2011-05-13 16:32:13 -07:00
commit d8ae680abb

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})