Commit 6eb1409f12710123f039720d4f539afd8e866b72
1 parent
37c976ef
Exists in
master
and in
23 other branches
ActionItem152: listing content tagged with a particular tag
git-svn-id: https://svn.colivre.coop.br/svn/noosfero/trunk@1265 3f533792-8f58-4932-b0fe-aaf55b0a4547
Showing
2 changed files
with
11 additions
and
1 deletions
Show diff stats
app/controllers/public/profile_controller.rb
| @@ -8,7 +8,8 @@ class ProfileController < ApplicationController | @@ -8,7 +8,8 @@ class ProfileController < ApplicationController | ||
| 8 | end | 8 | end |
| 9 | 9 | ||
| 10 | def tag | 10 | def tag |
| 11 | - @tag = profile.content_tagged_with(params[:id]) | 11 | + @tag = params[:id] |
| 12 | + @tagged = profile.find_tagged_with(@tag) | ||
| 12 | end | 13 | end |
| 13 | 14 | ||
| 14 | end | 15 | end |