Sha256: 1e207a1d9fa4b20374840bf8975975e29c395c29384b3cc1db50a168c5ef3fb9
Contents?: true
Size: 427 Bytes
Versions: 32
Compression:
Stored size: 427 Bytes
Contents
module Refinery module Helpers module PaginationHelper # Figures out the CSS classname to apply to your pagination list for animations. def pagination_css_class if request.xhr? and params[:from_page].present? and params[:page].present? "frame_#{params[:from_page].to_s > params[:page].to_s ? 'left' : 'right'}" else "frame_center" end end end end end
Version data entries
32 entries across 32 versions & 2 rubygems