set/abstract/02_search_params.rb in card-mod-search-0.11.3 vs set/abstract/02_search_params.rb in card-mod-search-0.11.4
- old
+ new
@@ -25,12 +25,10 @@
def default_limit
100
end
def extra_paging_path_args
- return {} unless (vars = query_params)
-
- { query: vars }
+ (vars = query_params) ? { query: vars } : {}
end
end
format :html do
def default_limit