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

Remove returning since it causes deprecation warnings. #414
pull/351/head
Felix Schäfer 14 years ago
commit d8ae680abb
  1. 2
      app/helpers/journals_helper.rb

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

Loading…
Cancel
Save