diff --git a/app/controllers/forum/forum_topics_controller.rb b/app/controllers/forum/forum_topics_controller.rb index 7770867..efb5299 100644 --- a/app/controllers/forum/forum_topics_controller.rb +++ b/app/controllers/forum/forum_topics_controller.rb @@ -60,6 +60,7 @@ class Forum::ForumTopicsController < ApplicationController @topic = ForumTopic.new(params.require(:forum_topic).permit!) @topic.forum_user = current_fuser + @topic.enabled = true if @topic.save redirect_to [:forum, @topic]