FIX: remove broken find topic id feature

This commit is contained in:
Sam
2014-07-29 16:36:19 +10:00
parent c96a84456d
commit aa7ed0b2ba
2 changed files with 0 additions and 12 deletions

View File

@ -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