Class: Thredded::AllViewHooks::PostForm

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializePostForm

Returns a new instance of PostForm



74
75
76
77
# File 'app/view_hooks/thredded/all_view_hooks.rb', line 74

def initialize
  @content_text_area = ViewHook.new
  @preview_area = ViewHook.new
end

Instance Attribute Details

#content_text_areaThredded::AllViewHooks::ViewHook (readonly)



69
70
71
# File 'app/view_hooks/thredded/all_view_hooks.rb', line 69

def content_text_area
  @content_text_area
end

#preview_areaThredded::AllViewHooks::ViewHook (readonly)



72
73
74
# File 'app/view_hooks/thredded/all_view_hooks.rb', line 72

def preview_area
  @preview_area
end