lib/picky/sinatra.rb in picky-4.0.0pre1 vs lib/picky/sinatra.rb in picky-4.0.0pre2
- old
+ new
@@ -9,19 +9,19 @@
#
def self.extended into
private :indexing, :searching
end
- # Delegates to Application.
+ # Sets tokenizer default indexing options.
#
- def indexing options
- Application.indexing options
+ def indexing options = {}
+ Tokenizer.default_indexing_with options
end
- # Delegates to Application.
+ # Sets tokenizer default searching options.
#
- def searching options
- Application.searching options
+ def searching options = {}
+ Tokenizer.default_searching_with options
end
end
end
\ No newline at end of file