mirror of
https://github.com/discourse/discourse.git
synced 2025-05-31 11:27:52 +08:00
Migration logic from SearchView to a controller, where it should be.
This commit is contained in:
@ -28,7 +28,6 @@ class Search
|
||||
end
|
||||
|
||||
def initialize(term, opts=nil)
|
||||
|
||||
if term.present?
|
||||
@term = term.to_s
|
||||
@original_term = PG::Connection.escape_string(@term)
|
||||
|
Reference in New Issue
Block a user