Skip to content

Commit

Permalink
Respect markup preference on new non-script discussion #752
Browse files Browse the repository at this point in the history
  • Loading branch information
JasonBarnabe committed Aug 2, 2020
1 parent 9e1a42a commit 9ebbc43
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/controllers/discussions_controller.rb
Expand Up @@ -93,7 +93,7 @@ def show

def new
@discussion = Discussion.new(poster: current_user)
@discussion.comments.build(poster: current_user)
@discussion.comments.build(poster: current_user, text_markup: current_user&.preferred_markup)
@subscribe = true
end

Expand Down

0 comments on commit 9ebbc43

Please sign in to comment.