lib/magic_grid/helpers.rb in magic_grid-0.10.1 vs lib/magic_grid/helpers.rb in magic_grid-0.10.2
- old
+ new
@@ -25,10 +25,9 @@
def magic_grid(collection = nil, cols = nil, opts = {}, &block)
grid = normalize_magic(collection, cols, opts)
base_params = grid.base_params
data = {
:searcher => grid.options[:searcher],
- :current => url_for,
:live_search => grid.options[:live_search],
:listeners => (grid.options[:listeners] unless grid.options[:listeners].empty?),
:remote => grid.options[:remote],
:default_ajax_handler => grid.options[:default_ajax_handler],
:params => base_params,