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
- #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
#initialize ⇒ PostsCommon
Returns a new instance of PostsCommon.
43 44 45 46 |
# File 'app/view_hooks/thredded/all_view_hooks.rb', line 43 def initialize @pagination_top = ViewHook.new @pagination_bottom = ViewHook.new end |
Instance Attribute Details
#pagination_bottom ⇒ Thredded::AllViewHooks::ViewHook (readonly)
41 42 43 |
# File 'app/view_hooks/thredded/all_view_hooks.rb', line 41 def pagination_bottom @pagination_bottom end |
#pagination_top ⇒ Thredded::AllViewHooks::ViewHook (readonly)
39 40 41 |
# File 'app/view_hooks/thredded/all_view_hooks.rb', line 39 def pagination_top @pagination_top end |