Sha256: 22c46ff8be376d3714ed128e087b153098479f789a726c6dab3f1830fad5c449
Contents?: true
Size: 359 Bytes
Versions: 25
Compression:
Stored size: 359 Bytes
Contents
module SearchHelper def get_search_query_words search_query = "" bare_query = strip_tags(params[:q]) unless bare_query.html_safe? return bare_query.strip.split end def search_results?(key) SocialStream::Search.count(params[:q], current_subject, :key => key) > 0 end end
Version data entries
25 entries across 25 versions & 2 rubygems