diff --git a/app/controllers/public/profile_controller.rb b/app/controllers/public/profile_controller.rb index e741ea5..b13b040 100644 --- a/app/controllers/public/profile_controller.rb +++ b/app/controllers/public/profile_controller.rb @@ -8,7 +8,8 @@ class ProfileController < ApplicationController end def tag - @tag = profile.content_tagged_with(params[:id]) + @tag = params[:id] + @tagged = profile.find_tagged_with(@tag) end end diff --git a/app/views/profile/tag.rhtml b/app/views/profile/tag.rhtml new file mode 100644 index 0000000..e964835 --- /dev/null +++ b/app/views/profile/tag.rhtml @@ -0,0 +1,9 @@ +