app/controllers/thredded/topic_previews_controller.rb in thredded-0.13.0 vs app/controllers/thredded/topic_previews_controller.rb in thredded-0.13.1
- old
+ new
@@ -4,10 +4,10 @@
class TopicPreviewsController < Thredded::ApplicationController
include Thredded::NewTopicParams
include Thredded::RenderPreview
def preview
- form = TopicForm.new(new_topic_params)
+ form = Thredded::TopicForm.new(new_topic_params)
@post = form.post
@post.postable = form.topic
render_preview
end
end