Merge pull request #56 from schmidt/b/414-remove-returning
Remove returning since it causes deprecation warnings. #414
This commit is contained in:
commit
d8ae680abb
@ -75,7 +75,7 @@ module JournalsHelper
|
|||||||
end
|
end
|
||||||
|
|
||||||
unless journal.notes.blank?
|
unless journal.notes.blank?
|
||||||
links = returning [] do |l|
|
links = [].tap do |l|
|
||||||
if reply_links
|
if reply_links
|
||||||
l << link_to_remote(image_tag('comment.png'), :title => l(:button_quote),
|
l << link_to_remote(image_tag('comment.png'), :title => l(:button_quote),
|
||||||
:url => {:controller => controller, :action => action, :id => model, :journal_id => journal})
|
:url => {:controller => controller, :action => action, :id => model, :journal_id => journal})
|
||||||
|
Loading…
x
Reference in New Issue
Block a user