Module: AjaxPagination

Defined in:
lib/ajax_pagination/rails.rb,
lib/ajax_pagination.rb,
lib/ajax_pagination/version.rb,
lib/ajax_pagination/helper_additions.rb,
lib/ajax_pagination/controller_additions.rb,
lib/generators/ajax_pagination/assets_generator.rb,
lib/generators/ajax_pagination/install_generator.rb

Overview

Copyright © 2012 Ronald Ping Man Chan

This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at mozilla.org/MPL/2.0/.

Defined Under Namespace

Modules: ControllerAdditions, Generators, HelperAdditions Classes: Engine

Constant Summary

VERSION =
"0.6.5"
@@loading_image =
"ajax-loader.gif"
@@warnings =

if nil, uses default, which is true only in development mode

nil
@@redirect_after_filter =
true
@@scroll_margin =
20

Class Method Summary collapse

Class Method Details

.config {|_self| ... } ⇒ Object

run rails generate ajax_pagination:install to create a default initializer with configuration values

Yields:

  • (_self)

Yield Parameters:



32
33
34
# File 'lib/ajax_pagination.rb', line 32

def self.config
  yield self
end