Don't allow empty searches
This commit is contained in:
@@ -19,7 +19,7 @@ module Adamantium
|
||||
end
|
||||
|
||||
expose :query do |query:|
|
||||
query
|
||||
query == "" ? nil : query
|
||||
end
|
||||
|
||||
expose :post_years do
|
||||
|
Reference in New Issue
Block a user