add categories to forum topics

This commit is contained in:
r888888888
2013-06-06 16:18:04 -07:00
parent a628864aff
commit f16178623b
9 changed files with 67 additions and 3 deletions

View File

@@ -1,2 +1,5 @@
module ForumTopicsHelper
def forum_topic_category_select(object, field)
select(object, field, ForumTopic.reverse_category_mapping.to_a)
end
end