Sha256: 732313e58ed39d8bcabf17dc7a33b55561c3ed5760d614502d8f0ebafbfd7379

Contents?: true

Size: 332 Bytes

Versions: 20

Compression:

Stored size: 332 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
      true
    end

  end
end

Version data entries

20 entries across 20 versions & 1 rubygems

Version Path
my_forum-0.0.1.beta28 app/helpers/my_forum/topics_helper.rb
my_forum-0.0.1.beta27 app/helpers/my_forum/topics_helper.rb
my_forum-0.0.1.beta26 app/helpers/my_forum/topics_helper.rb
my_forum-0.0.1.beta25 app/helpers/my_forum/topics_helper.rb
my_forum-0.0.1.beta24 app/helpers/my_forum/topics_helper.rb
my_forum-0.0.1.beta23 app/helpers/my_forum/topics_helper.rb
my_forum-0.0.1.beta22 app/helpers/my_forum/topics_helper.rb
my_forum-0.0.1.beta21 app/helpers/my_forum/topics_helper.rb
my_forum-0.0.1.beta20 app/helpers/my_forum/topics_helper.rb
my_forum-0.0.1.beta19 app/helpers/my_forum/topics_helper.rb
my_forum-0.0.1.beta18 app/helpers/my_forum/topics_helper.rb
my_forum-0.0.1.beta17 app/helpers/my_forum/topics_helper.rb
my_forum-0.0.1.beta16 app/helpers/my_forum/topics_helper.rb
my_forum-0.0.1.beta15 app/helpers/my_forum/topics_helper.rb
my_forum-0.0.1.beta14 app/helpers/my_forum/topics_helper.rb
my_forum-0.0.1.beta13 app/helpers/my_forum/topics_helper.rb
my_forum-0.0.1.beta12 app/helpers/my_forum/topics_helper.rb
my_forum-0.0.1.beta11 app/helpers/my_forum/topics_helper.rb
my_forum-0.0.1.beta10 app/helpers/my_forum/topics_helper.rb
my_forum-0.0.1.beta9 app/helpers/my_forum/topics_helper.rb