enabled topic
This commit is contained in:
parent
809f4f9e1c
commit
bbfc1d1385
@ -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]
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user