Sha256: 4feabf069c6336fffcf2a6988821756ca3170aceb2963837d1f355cfd5595c25
Contents?: true
Size: 558 Bytes
Versions: 4
Compression:
Stored size: 558 Bytes
Contents
module AjaxPagination class Engine < ::Rails::Engine initializer 'ajax_pagination.actionpack_additions' do ActiveSupport.on_load(:action_controller) do include AjaxPagination::ControllerAdditions end ActiveSupport.on_load(:action_view) do include AjaxPagination::HelperAdditions end end initializer 'ajax_pagination.javascript_warnings' do if AjaxPagination.warnings.nil? # if not defined AjaxPagination.warnings = Rails.env == 'development' # default setting end end end end
Version data entries
4 entries across 4 versions & 1 rubygems