mirror of
https://github.com/discourse/discourse.git
synced 2025-05-21 18:12:32 +08:00
auto replace rules in titles
This commit is contained in:
@ -56,7 +56,9 @@ class TopicsController < ApplicationController
|
||||
topic.change_category(params[:category])
|
||||
end
|
||||
|
||||
render nothing: true
|
||||
# this is used to return the title to the client as it may have been
|
||||
# changed by "TextCleaner"
|
||||
render_serialized(topic, BasicTopicSerializer)
|
||||
end
|
||||
|
||||
def similar_to
|
||||
|
Reference in New Issue
Block a user