diff --git a/app/helpers/post_versions_helper.rb b/app/helpers/post_versions_helper.rb index 3b5ea3621..a9ce482d1 100644 --- a/app/helpers/post_versions_helper.rb +++ b/app/helpers/post_versions_helper.rb @@ -3,10 +3,10 @@ module PostVersionsHelper diff = post_version.diff(post_version.previous) html = [] diff[:added_tags].each do |tag| - html << '' + link_to(tag, posts_path(:tags => tag)) + '' + html << '+' + link_to(tag, posts_path(:tags => tag)) + '' end diff[:removed_tags].each do |tag| - html << '' + link_to(tag, posts_path(:tags => tag)) + '' + html << '-' + link_to(tag, posts_path(:tags => tag)) + '' end diff[:unchanged_tags].each do |tag| html << '' + link_to(tag, posts_path(:tags => tag)) + ''