diff --git a/app/helpers/reshares_helper.rb b/app/helpers/reshares_helper.rb index d889ce1d6..c9fb283e6 100644 --- a/app/helpers/reshares_helper.rb +++ b/app/helpers/reshares_helper.rb @@ -9,9 +9,18 @@ module ResharesHelper def reshare_link(post) if reshare?(post) - link_to t("reshares.reshare.reshare_original"), reshares_path(:root_guid => post.root.guid), :method => :post, :remote => true, :confirm => t('reshares.reshare.reshare_confirmation', :author => post.root.author.name) + link_to t("reshares.reshare.reshare_original"), + reshares_path(:root_guid => post.root.guid), + :method => :post, + :remote => true, + :confirm => t('reshares.reshare.reshare_confirmation', :author => post.root.author.name) else - link_to t("reshares.reshare.reshare", :count => post.reshares.size), reshares_path(:root_guid => post.guid), :method => :post, :remote => true, :confirm => t('reshares.reshare.reshare_confirmation', :author => post.author.name) + link_to t("reshares.reshare.reshare", + :count => post.reshares.size), + reshares_path(:root_guid => post.guid), + :method => :post, + :remote => true, + :confirm => t('reshares.reshare.reshare_confirmation', :author => post.author.name) end end end