diff --git a/app/views/blocks/tags.html.erb b/app/views/blocks/tags.html.erb
index c85135e..cd639ba 100644
--- a/app/views/blocks/tags.html.erb
+++ b/app/views/blocks/tags.html.erb
@@ -1,3 +1,4 @@
+<% extend TagsHelper %>
<%= block_title(block.title, block.subtitle) %>
<%
diff --git a/test/functional/profile_design_controller_test.rb b/test/functional/profile_design_controller_test.rb
index 1015844..809b015 100644
--- a/test/functional/profile_design_controller_test.rb
+++ b/test/functional/profile_design_controller_test.rb
@@ -716,4 +716,9 @@ class ProfileDesignControllerTest < ActionController::TestCase
assert_equal assigns(:current_category), c1
end
+ should 'not fail when a profile has a tag block' do
+ a = create(Article, :name => 'my article', :profile_id => holder.id, :tag_list => 'tag')
+ @box1.blocks << TagsBlock.new
+ get :index, :profile => 'designtestuser'
+ end
end
--
libgit2 0.21.2