diff --git a/app/views/wiki_pages/show.html.erb b/app/views/wiki_pages/show.html.erb
index be237ab02..aa42987b0 100644
--- a/app/views/wiki_pages/show.html.erb
+++ b/app/views/wiki_pages/show.html.erb
@@ -5,7 +5,7 @@
- <%= link_to @wiki_page.pretty_title, wiki_page_path(@wiki_page), :class => "tag-type-#{@wiki_page.tag.category}" %>
+ <%= link_to @wiki_page.pretty_title, wiki_page_path(@wiki_page), :class => "tag-type-#{@wiki_page.category_name}" %>
<% if @wiki_page.is_locked? %>
(locked)