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.



77
78
79
80
# File 'app/view_hooks/thredded/all_view_hooks.rb', line 77

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

Instance Attribute Details

#content_text_areaThredded::AllViewHooks::ViewHook (readonly)



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

def content_text_area
  @content_text_area
end

#preview_areaThredded::AllViewHooks::ViewHook (readonly)



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

def preview_area
  @preview_area
end