app/helpers/application_helper.rb
# rendering paginating links for "collection" in "controller" with ajax link
rendering paginating links for "collection" in "controller" with ajax link
rendering paginating links for " collection " in " controller " with ajax link
def render_paginating_links(collection, controller, action = nil)
    if collection.respond_to?(:page_count) && collection.page_count > 1
      action ||= "search"
      render :partial => "shared/paginating_links",
             :locals => {:url => "#{controller}\/#{action}"}
    end
  end
def render_paginating_links ( collection , controller , action = nil ) if collection . respond_to? ( :page_count ) && collection . page_count > 1 action ||= "search" render :partial => "shared/paginating_links" , :locals => { :url => "#{controller}\/#{action}" } end end
rendering paginating links for "collection" in "controller" with ajax link
rendering paginating links for " collection " in " controller " with ajax link
collection
<not_specific>
controller
<not_specific>
action
<not_specific>