Module: Thredded::Workgroup::ViewHooks
- Included in:
- AllViewHooks
- Defined in:
- app/view_hooks/thredded/workgroup/view_hooks.rb
Defined Under Namespace
Classes: TopicWithLastPost
Instance Attribute Summary collapse
-
#topic_with_last_post ⇒ Object
readonly
Returns the value of attribute topic_with_last_post.
Instance Method Summary collapse
Instance Attribute Details
#topic_with_last_post ⇒ Object (readonly)
Returns the value of attribute topic_with_last_post.
6 7 8 |
# File 'app/view_hooks/thredded/workgroup/view_hooks.rb', line 6 def topic_with_last_post @topic_with_last_post end |
Instance Method Details
#initialize ⇒ Object
8 9 10 11 |
# File 'app/view_hooks/thredded/workgroup/view_hooks.rb', line 8 def initialize super @topic_with_last_post = TopicWithLastPost.new end |