mirror of
https://github.com/discourse/discourse.git
synced 2025-05-21 18:12:32 +08:00
FIX: remove broken find topic id feature
This commit is contained in:
@ -104,8 +104,6 @@ class Search
|
||||
return single_topic(route[:topic_id]).as_json if route[:topic_id].present?
|
||||
rescue ActionController::RoutingError
|
||||
end
|
||||
|
||||
return single_topic(@term.to_i).as_json if @term =~ /^\d+$/
|
||||
end
|
||||
|
||||
find_grouped_results.as_json
|
||||
|
Reference in New Issue
Block a user