module Admin::TopicHelper
def topic_path(topic)
"/admin/forums/topic/#{topic.id}"
end
def edit_topic_path(topic)
"/admin/forums/topic/#{topic.id}/edit"
end
def access_list(current, options={})
c = current.to_i if current
c ||= 0
s = ""
s = "" unless options[:include_anyone]==false
s += ""
s += [2,3,4,5,6,7,8,9].map { |l|
""
}.join("")
return s.html_safe
end
end