Skip to content

Commit

Permalink
You can now submit your requests using GET or POST verb
Browse files Browse the repository at this point in the history
  • Loading branch information
zogw committed Apr 22, 2011
1 parent 16f51be commit c776e6f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sunspot/lib/sunspot/search/abstract_search.rb
Expand Up @@ -38,7 +38,7 @@ def initialize(connection, setup, query, configuration) #:nodoc:
# Sunspot#new_search(), you will need to call this method after building the
# query.
#
def execute
def execute opts={}
reset
params = @query.to_params
# Here we add the ability to perform the request through POST rather than GET
Expand Down

0 comments on commit c776e6f

Please sign in to comment.