Commit 8238d31de4fe232cd77d26dd327f14b7bba8a347
1 parent
fd983d96
Exists in
master
and in
29 other branches
ActionItem152: removing the optional parameter from content method
git-svn-id: https://svn.colivre.coop.br/svn/noosfero/trunk@1262 3f533792-8f58-4932-b0fe-aaf55b0a4547
Showing
4 changed files
with
4 additions
and
4 deletions
Show diff stats
app/models/article_block.rb
app/models/block.rb
app/models/main_block.rb
app/models/tags_block.rb
... | ... | @@ -7,7 +7,7 @@ class TagsBlock < Block |
7 | 7 | _('List count of contents by tag') |
8 | 8 | end |
9 | 9 | |
10 | - def content(main_content = nil) | |
10 | + def content | |
11 | 11 | content_tag('h3', _('Tags'), :class => 'block-title') + |
12 | 12 | tag_cloud(owner.tags, :id, owner.generate_url(:controller => 'profile', :action => 'tag') + '/', :max_size => 20, :min_size => 10) |
13 | 13 | end | ... | ... |