This commit is contained in:
Toks
2013-05-20 10:40:19 -04:00
parent ce798d0f7d
commit 5aeab8247c
3 changed files with 6 additions and 2 deletions

View File

@@ -32,4 +32,8 @@ class WikiPageVersion < ActiveRecord::Base
def pretty_title
title.tr("_", " ")
end
def category_name
Tag.category_for(title)
end
end