def slice(object, options = {}, &block)
      slicer = HtmlSlicer::Helpers::Slicer.new self, object.options.reverse_merge(options).reverse_merge(:current_slice => object.current_slice, :slice_number => object.slice_number, :remote => false)
      slicer.to_s
    end
def slice(object, options = {}, &block)
      slicer = HtmlSlicer::Helpers::Slicer.new self, object.options.reverse_merge(options).reverse_merge(:current_slice => object.current_slice, :slice_number => object.slice_number, :remote => false)
      slicer.to_s
    end
A helper that renders the pagination links.

   <%= slicer @article.paged %>

 ==== Options
 * <tt>:window</tt> - The "inner window" size (4 by default).
 * <tt>:outer_window</tt> - The "outer window" size (0 by default).
 * <tt>:left</tt> - The "left outer window" size (0 by default).
 * <tt>:right</tt> - The "right outer window" size (0 by default).
 * <tt>:params</tt> - url_for parameters for the links (:controller, :action, etc.)
 * <tt>:param_name</tt> - parameter name for slice number in the links. Accepts +symbol+, +string+, +array+.
 * <tt>:remote</tt> - Ajax? (false by default)
 * <tt>:ANY_OTHER_VALUES</tt> - Any other hash key & values would be directly passed into each tag as :locals value.