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.



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

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

Instance Attribute Details

#content_text_areaThredded::AllViewHooks::ViewHook (readonly)



63
64
65
# File 'app/view_hooks/thredded/all_view_hooks.rb', line 63

def content_text_area
  @content_text_area
end

#preview_areaThredded::AllViewHooks::ViewHook (readonly)



66
67
68
# File 'app/view_hooks/thredded/all_view_hooks.rb', line 66

def preview_area
  @preview_area
end