Sha256: 422488754423ea390359feec9aa515397929d1ebf4dbc1cc85aa8ddbc7e6e526

Contents?: true

Size: 616 Bytes

Versions: 1

Compression:

Stored size: 616 Bytes

Contents

require "ajax_pagination/version"
require "ajax_pagination/controller_additions"
require "ajax_pagination/helper_additions"
require "ajax_pagination/rails"

module AjaxPagination
  # default loading image to use
  mattr_accessor :loading_image
  @@loading_image = "ajax-loader.gif"

  # whether javascript warnings are on, these present themselves as alerts
  mattr_accessor :warnings
  @@warnings = nil # if nil, uses default, which is true only in development mode

  # run rails generate ajax_pagination:install to create a default initializer with configuration values
  def self.config
    yield self
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
ajax_pagination-0.2.0 lib/ajax_pagination.rb