Class: Thredded::AllViewHooks::PostsCommon
- Inherits:
-
Object
- Object
- Thredded::AllViewHooks::PostsCommon
- Defined in:
- app/view_hooks/thredded/all_view_hooks.rb
Overview
View hooks for collections of public or private posts.
Instance Attribute Summary collapse
- #before_first_unread_post ⇒ Thredded::AllViewHooks::ViewHook readonly
- #pagination_bottom ⇒ Thredded::AllViewHooks::ViewHook readonly
- #pagination_top ⇒ Thredded::AllViewHooks::ViewHook readonly
Instance Method Summary collapse
-
#initialize ⇒ PostsCommon
constructor
A new instance of PostsCommon.
Constructor Details
Instance Attribute Details
#before_first_unread_post ⇒ Thredded::AllViewHooks::ViewHook (readonly)
45 46 47 |
# File 'app/view_hooks/thredded/all_view_hooks.rb', line 45 def before_first_unread_post @before_first_unread_post end |
#pagination_bottom ⇒ Thredded::AllViewHooks::ViewHook (readonly)
49 50 51 |
# File 'app/view_hooks/thredded/all_view_hooks.rb', line 49 def pagination_bottom @pagination_bottom end |
#pagination_top ⇒ Thredded::AllViewHooks::ViewHook (readonly)
47 48 49 |
# File 'app/view_hooks/thredded/all_view_hooks.rb', line 47 def pagination_top @pagination_top end |