mirror of
https://github.com/discourse/discourse.git
synced 2026-08-26 21:27:16 -05:00
Correct few spelling in the comments
This commit is contained in:
@@ -120,7 +120,7 @@ class TopicsController < ApplicationController
|
||||
title, raw = params[:title], params[:raw]
|
||||
[:title, :raw].each { |key| check_length_of(key, params[key]) }
|
||||
|
||||
# Only suggest similar topics if the site has a minimmum amount of topics present.
|
||||
# Only suggest similar topics if the site has a minimum amount of topics present.
|
||||
topics = Topic.similar_to(title, raw, current_user).to_a if Topic.count_exceeds_minimum?
|
||||
|
||||
render_serialized(topics, BasicTopicSerializer)
|
||||
|
||||
Reference in New Issue
Block a user