app/filters/url_filters.rb
# Special link that checks for current section.  If it exists and it's a paged section, use link_to_page instead.
Special link that checks for current section.  If it exists and it's a paged section, use link_to_page instead.
Special link that checks for current section . If it exists and it ' s a paged section use link_to_page instead .
def link_to_search_result(article, *args)
    if current_page_section && current_page_section[:is_paged]
      link_to_page(article, current_page_section, *args)
    else
      link_to_article(article, *args)
    end
  end
def link_to_search_result ( article , * args ) if current_page_section && current_page_section [ :is_paged ] link_to_page ( article , current_page_section , * args ) else link_to_article ( article , * args ) end end
Special link that checks for current section.
Special link that checks for current section .
article
<not_specific>
args
<not_specific>