From fccf35555876c9c58a6372981af165e84db68210 Mon Sep 17 00:00:00 2001 From: Victor Costa Date: Mon, 20 Jan 2014 13:20:21 -0300 Subject: [PATCH] rails3: fix tags_block --- app/models/tags_block.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/models/tags_block.rb b/app/models/tags_block.rb index 684034e..a4f2035 100644 --- a/app/models/tags_block.rb +++ b/app/models/tags_block.rb @@ -2,6 +2,7 @@ class TagsBlock < Block include TagsHelper include BlockHelper + include ActionView::Helpers include Rails.application.routes.url_helpers settings_items :limit, :type => :integer, :default => 12 @@ -31,7 +32,7 @@ class TagsBlock < Block end url = is_env ? {:host=>owner.default_hostname, :controller=>'search', :action => 'tag'} : - owner.public_profile_url.merge(:controller => 'profile', :action => 'tags') + owner.public_profile_url.merge(:controller => 'profile', :action => 'content_tagged') tagname_option = is_env ? :tag : :id block_title(title) + -- libgit2 0.21.2