Class: Thredded::AllViewHooks::PostsCommon

Inherits:
Object
  • Object
show all
Defined in:
app/view_hooks/thredded/all_view_hooks.rb

Overview

View hooks for collections of public or private posts.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializePostsCommon

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_bottomThredded::AllViewHooks::ViewHook (readonly)



41
42
43
# File 'app/view_hooks/thredded/all_view_hooks.rb', line 41

def pagination_bottom
  @pagination_bottom
end

#pagination_topThredded::AllViewHooks::ViewHook (readonly)



39
40
41
# File 'app/view_hooks/thredded/all_view_hooks.rb', line 39

def pagination_top
  @pagination_top
end