Sha256: f2d228031970c7e17bda90b32f5c6febb1e1306dc59311d37af874a3be123a08
Contents?: true
Size: 380 Bytes
Versions: 6
Compression:
Stored size: 380 Bytes
Contents
class TinyMCELinkRenderer < WillPaginate::LinkRenderer def page_link_or_span(page, span_class = 'current', text = nil) text ||= page.to_s if page and page != current_page @template.link_to_remote text, :url => url_for(page), :method => :get, :update => 'dynamic_images_list' else @template.content_tag :span, text, :class => span_class end end end
Version data entries
6 entries across 6 versions & 1 rubygems