Permalink
Browse files

Fix tag_cloud documentation

  • Loading branch information...
1 parent 8dbfc4b commit 384fe6058c903ce405c767bf24f85d432288be4d @sobrinho sobrinho committed with tomeric Dec 13, 2009
Showing with 1 addition and 1 deletion.
  1. +1 −1 README.rdoc
View
@@ -167,7 +167,7 @@ Controller:
View:
- <% tag_cloud @tags, %w(css1 css2 css3 css4).each do |tag, css_class| %>
+ <% tag_cloud(@tags, %w(css1 css2 css3 css4)).each do |tag, css_class| %>
<%= link_to tag.name, { :action => :tag, :id => tag.name }, :class => css_class %>
<% end %>

0 comments on commit 384fe60

Please sign in to comment.