Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(11)

Unified Diff: app/helpers/application_helper.rb

Issue 2323: Upgrade to Rails 2 SVN Base: http://familyconnect.rubyforge.org/svn/trunk/
Patch Set: Created 1 year, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side by-side-diff with in-line comments
Download patch
Index: app/helpers/application_helper.rb
===================================================================
--- app/helpers/application_helper.rb (revision 36)
+++ app/helpers/application_helper.rb (working copy)
@@ -42,7 +42,7 @@
end
def link_to_tag(tag)
- references = tag.news_items_count
+ references = tag.news_items.count
styles = []
styles << 'font-weight:' + ((references > 1) ? 'bold' : 'normal')
styles << 'font-size:9pt' if references <= 2

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld r483