Sha256: 2a2e74f2a3bcf7865ce2c34dad8b76ae52d619673845fa9f545f1e366b3b06f8
Contents?: true
Size: 403 Bytes
Versions: 37
Compression:
Stored size: 403 Bytes
Contents
module MyForum module TopicsHelper def topic_last_post_info(topic) html = content_tag(:div, forum_time(topic.last_post_time)) html += content_tag(:div, topic.last_post_user_login) html.html_safe end def can_quick_answer?(forum) return false unless current_user return true if is_admin? return false if forum.closed? true end end end
Version data entries
37 entries across 37 versions & 1 rubygems